mddanishyusuf / dailyhack

🐱‍💻 Tiny Tiny Hacks we use in our daily life.
https://dailyhack.now.sh/
149 stars 15 forks source link

Use git fetch to pull changes into local repo without merging #105

Open umermansoor opened 4 years ago

umermansoor commented 4 years ago

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 commented 4 years ago

@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.

mddanishyusuf commented 4 years ago

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