dailyhack icon indicating copy to clipboard operation
dailyhack copied to clipboard

Use git fetch to pull changes into local repo without merging

Open umermansoor opened this issue 4 years ago • 2 comments

git fetch only downloads latest changes into the local repository and does not merge into the current branch. It downloads latest changes that other developers have pushed to the remote repo since the last fetch and allows you to review and merge manually at a later time using git merge.

$ git checkout develop
$ git fetch

This is in contrast with git pull that downloads and then merges changes into the current branch. Source

umermansoor avatar Feb 02 '20 06:02 umermansoor

@mddanishyusuf Just realized that I pasted the wrong link. It is 404'ing on the site.

Fixed it in the issue. If you can update the site, it should fix it.

umermansoor avatar Feb 02 '20 14:02 umermansoor

It automatically updated. The website data is real time streaming.

mddanishyusuf avatar Feb 02 '20 14:02 mddanishyusuf