Thursday, 13 November 2014

Pulling content from the remote repository via SourceTree

Here is the list of commands used by SourceTree when you pull branch mybranch from origin for some repository myrepo:

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

We can see that main commands used here are:


git fetch origin
git pull --no-commit origin mybranch
submodule update --init --recursive


No comments: