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 ee987da commit f1ec1f1Copy full SHA for f1ec1f1
test/test_docs.py
@@ -469,11 +469,11 @@ def test_references_and_objects(self, rw_dir):
469
# ![30-test_references_and_objects]
470
471
# [31-test_references_and_objects]
472
- git = repo.git
473
- git.checkout("HEAD", b="my_new_branch") # Create a new branch.
474
- git.branch("another-new-one")
475
- git.branch("-D", "another-new-one") # Pass strings for full control over argument order.
476
- git.for_each_ref() # '-' becomes '_' when calling it.
+ git_cmd = repo.git
+ git_cmd.checkout("HEAD", b="my_new_branch") # Create a new branch.
+ git_cmd.branch("another-new-one")
+ git_cmd.branch("-D", "another-new-one") # Pass strings for full control over argument order.
+ git_cmd.for_each_ref() # '-' becomes '_' when calling it.
477
# ![31-test_references_and_objects]
478
479
repo.git.clear_cache()
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments