MARKDOWN 32
GIT fetch pull update By micha on 19th August 2021 11:16:11 AM

git fetch will update only the branch you're on, but not merge any changes in.
Tells your local git to retrieve the latest meta-data info from the original (yet doesn’t do any file transferring. It’s more like just checking to see if there are any changes available)

git pull will update and merge any remote changes of the current branch you're on. This would be the one you use to update a local branch.
In the simplest terms, git pull does a git fetch followed by a git merge

git remote update (Update Project) will update all of your branches set to track remote ones, but not merge any changes in.

Paste is for source code and general debugging text.

Login or Register to edit, delete and keep track of your pastes and more.

Raw Paste

Login or Register to edit or fork this paste. It's free.