diff options
Diffstat (limited to 'git/test/test_docs.py')
-rw-r--r-- | git/test/test_docs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git/test/test_docs.py b/git/test/test_docs.py index 397641e0..586f0ce4 100644 --- a/git/test/test_docs.py +++ b/git/test/test_docs.py @@ -431,7 +431,7 @@ class Tutorials(TestBase): # [31-test_references_and_objects] git = repo.git - git.checkout('head', b="my_new_branch") # create a new branch + 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 |