Here is the list of commands used by SourceTree when you pull branch mybranch from origin for some repository myrepo:
We can see that main commands used here are:
git fetch origin
git pull --no-commit origin mybranch
submodule update --init --recursive
git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree fetch origin
From ssh://my.git.host:8999/myproj/myrepo
e855518..9f48d16 master -> origin/master
git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree pull --no-commit origin mybranch
From ssh://my.git.host:8999/myproj/myrepo
* branch mybranch -> FETCH_HEAD
Already up-to-date.
git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree submodule update --init --recursive
Completed successfully
From ssh://my.git.host:8999/myproj/myrepo
e855518..9f48d16 master -> origin/master
git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree pull --no-commit origin mybranch
From ssh://my.git.host:8999/myproj/myrepo
* branch mybranch -> FETCH_HEAD
Already up-to-date.
git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree submodule update --init --recursive
Completed successfully
We can see that main commands used here are:
git fetch origin
git pull --no-commit origin mybranch
submodule update --init --recursive
No comments:
Post a Comment