In the simplest terms, git pull does a git fetch followed by git merge.
Watching: What is Git fetch
You can do a git fetch at any time to update your remote-tracking branches in refs/remotes//.
See more: What is community tourism?
This never changes any of your local branches under refs/heads and is probably safe to do without changing your working copy. I’ve even heard of people running git fetch periodically in a cron job in the background (though I wouldn’t recommend doing this).
See also: what is successful?
Git pull is what you would do to update your local branch with its remote version, while also updating your rejmote-tracking branches.
Facebook Twitter Email
Guide to Merge/Merge Commit in GIT
What to do to program PHP on Ubuntu?
Export source code using Git Archive
What is GitLab? Install and Configure GitLab on Linux Server
Instructions for handling code conflicts on GIT
Clone / Checkout 1 branch or 1 Commit using GIT
Standard Git Flow Process for Software Projects
Create a new branch from another branch in Git
mode_edit Your comment Cancel comment
Your email will not be publicly displayed. Required fields are marked with *
account_circle Name *
email Email *
Leave this field empty
You may be interested
Website vinasupport, established in 2008, is one of the pioneering websites in technology support, answering and sharing in Vietnam.