Showing posts with label Git Fetch. Show all posts
Showing posts with label Git Fetch. Show all posts

Sunday, December 21, 2014

Fetch in SourceTree

The fetch command in Git/Source Tree is used to get the changes (commits) from remote repository to the local repositories, the local working copy is not affected as a result of executing the Fetch command, this gives an opportunity to get the remote changes and do a comparison with the local version before we merge and commit the local changes.

Fetch can be done on a specific branch or on all the branches, by selecting the appropriate option. Use the following steps to fetch the latest details (commits) from a remote branch to the local branch using Source tree.