Skip to content

Instantly share code, notes, and snippets.

View 3ng7n33r's full-sized avatar

Maximilian Blacher 3ng7n33r

View GitHub Profile
pip install django-extensions
python manage.py shell -c 'from django.core.management import call_command; from django_extensions.management.commands.show_urls import Command; call_command(Command())'
@3ng7n33r
3ng7n33r / gist:138101e2c4a9671e91b18552464a82ca
Last active August 1, 2024 14:24
Delete merged branches
# delete merged branches except for main
git branch | grep -v "main" | grep -v ^* | xargs git branch -d