Distinguish between GIT fetch and GIT pull?

devquora
devquora

Posted On: Feb 22, 2018

 

GIT fetch : It downloads only the new data from the remote repository and does not integrate any of the downloaded data into your working files. Providing a view of the data is all it does.

GIT pull: It downloads as well as merges the data from the remote repository into the local working files. This may also lead to merging conflicts if the user’s local changes are not yet committed. Using the “GIT stash” command hides the local changes.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    Git Interview Questions

    What is GIT and why do we use it?

    GIT is a Distributed Version Control System (DVCS) and Source Code Management System (SCMS) which can track changes to a..

    Git Interview Questions

    What are GIT stash and GIT stash drop?

    GIT stash:It takes the current state of working directory and index and pushes into the stack for later and returns to ..

    Git Interview Questions

    Name some GIT commands and also explain their functions?

    GIT diff – It shows the changes between commits, commits and working tree.GIT status – It shows the difference b..