In the simplest terms, git pull does a
git fetch, followed by a git merge.
You can do a git fetch at any time to update your remote-tracking branches under refs/remotes/<remote>/.
This operation never changes any of your own local branches under refs/heads and is safe to do without changing your working copy.
A git pull is what you would do to bring a local branch up-to-date with its remote version, while also updating your other remote-tracking branches.
- 1Bitbucket and Visual Studio
- 1How to Install Git on Ubuntu 18.04?
- 1How to dump and restore database in MongoDB
- 1How to compress and extract files/folders using the tar command on Ubuntu
- 1SVN vs Git: Which One Is Best For Your Needs
- 1How To Create a New User and Grant Permissions in MySQL
- 1How make git commands shorter
- 2Abstract and Virtual Methods
- 0What is the difference between custom dimensions and metrics in Google Analytics
- 5How can I rename git local and remote branch name?
- 1Events and delegates in C#