We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2bf79ca commit a6b80a1Copy full SHA for a6b80a1
1 file changed
libvcs/cmd/git.py
@@ -758,10 +758,12 @@ def pull(
758
'Already up to date.'
759
760
Fetch via ref:
761
- >>> git = Git(dir=git_local_clone.dir)
+ >>> git = Git(dir=tmp_path)
762
+ >>> git.run(['init'])
763
+ 'Initialized ...'
764
>>> git_remote_repo = create_git_remote_repo()
765
>>> git.pull(reftag=f'file://{git_remote_repo}')
- 'Already up to date.'
766
+ ''
767
>>> git.dir.exists()
768
True
769
"""
0 commit comments