We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06eeb51 commit 4b441d9Copy full SHA for 4b441d9
migration_fixer/management/commands/makemigrations.py
@@ -87,7 +87,7 @@ def handle(self, *app_labels, **options):
87
if self.verbosity >= 2:
88
self.stdout.write("Retrieving the current branch...")
89
90
- current_branch = self.repo.active_branch.name
+ current_branch = self.repo.head.name
91
92
93
self.stdout.write(
0 commit comments