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.

    1.   Open Source Tree.

    2.   Click the Fetch icon from the Toolbar


    3. Select the remote branch from which the latest commits are to be fetched.
    4. To get the latest commits from all the branches, check the “Fetch from all remotes” checkbox.

    5. Once fetch is completed, you can see that changes reflecting in the local repository, but not in    the working folder.




Search Flipkart Products:
Flipkart.com

1 comment:

priya said...

Thanks for your informative article, Your post helped me to understand the future and career prospects & Keep on updating your blog with such awesome article.
Selenium training in Chennai
Selenium training in Bangalore
Selenium training in Pune
Selenium Online training