TortoiseGit Manual

Pull and Fetch change

This section talks about how to fetch or pull change from the other repository. The difference between pull and fetch is:

Pull will merge remote branch change to local branch which tracked with remote branch. Fetch just get change from remote branch and never merge.

TortoiseGit Pull... .

TortoiseGit Fetch... .

Pull\fetch Dialog will show.

Remote: Choose Remote

Other: Input Other URL or local directory. You can click ... to browse directory.

If you check the Autoload Putty Key checkbox, Putty key will auto load by Pageant.

Manage Remotes to add or modify remote configuration.

Tags has three states (git 1.9 and later): Checked: All tags as well as branches are downloaded (--tags is passed to git), unchecked: No tags are downloaded (--no-tags is passed to git), and third state: use default behavior (based on remote name.tagopt setting). Tags has three states (prior to git 1.9): Only all tags are downloaded but no branches are downloaded (--tags is passed to git), unchecked: No tags are downloaded (--no-tags is passed to git), and third state: use default behavior (based on remote name.tagopt setting).

Prune has three states: True to remove remote-tracking branches which no longer exist on the remote, false: not to remove, and third state: use default behavior (based on remote name.prune or fetch.prune setting).

Depth allows you to do a shallow pull/fetch on a shallow-clone repository with a specified depth.

Tip

You can find more information about PuTTY and using ssh-keys at Appendix F, Tips and tricks for SSH/PuTTY.

You can find more information at the section called “git-fetch(1)” and the section called “git-pull(1)”.