◐ Shell
reader mode source ↗
Skip to content
Merged
Changes from all commits
File filter
Conversations
Jump to
Diff view
Apply and reload
Show whitespace
Diff view
Apply and reload
10 changes: 5 additions & 5 deletions test/test_docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -469,11 +469,11 @@ def test_references_and_objects(self, rw_dir):
# ![30-test_references_and_objects]

# [31-test_references_and_objects]
git = repo.git
git.checkout("HEAD", b="my_new_branch") # Create a new branch.
git.branch("another-new-one")
git.branch("-D", "another-new-one") # Pass strings for full control over argument order.
git.for_each_ref() # '-' becomes '_' when calling it.
# ![31-test_references_and_objects]

repo.git.clear_cache()
Expand Down
Toggle all file notes Toggle all file annotations