diff --git a/src/test_create_or_update_branch.py b/src/test_create_or_update_branch.py index 2e2209b..fb825cb 100644 --- a/src/test_create_or_update_branch.py +++ b/src/test_create_or_update_branch.py @@ -93,6 +93,7 @@ def before_after_all(): assert not repo.is_dirty(untracked_files=True) # Create a new default branch for the test run + repo.remotes.origin.fetch() repo.git.checkout("master") repo.git.checkout("HEAD", b=NOT_BASE_BRANCH) create_tracked_change()