Thanks to visit codestin.com Credit goes to github.com
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 06bec1b commit 1410bccCopy full SHA for 1410bcc
git/test/test_docs.py
@@ -431,7 +431,7 @@ def test_references_and_objects(self, rw_dir):
431
432
# [31-test_references_and_objects]
433
git = repo.git
434
- git.checkout('head', b="my_new_branch") # create a new branch
+ git.checkout('HEAD', b="my_new_branch") # create a new branch
435
git.branch('another-new-one')
436
git.branch('-D', 'another-new-one') # pass strings for full control over argument order
437
git.for_each_ref() # '-' becomes '_' when calling it
0 commit comments