Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
umermansoor opened this issue Feb 2, 2020 · 2 comments
Open

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

umermansoor opened this issue Feb 2, 2020 · 2 comments
Assignees
Labels
coolhack This trick is cool dailyhack This issue belongs to dailyhack.xyz git

Comments

@umermansoor
Copy link

umermansoor commented Feb 2, 2020

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

@mddanishyusuf mddanishyusuf added coolhack This trick is cool dailyhack This issue belongs to dailyhack.xyz git labels Feb 2, 2020
@umermansoor
Copy link
Author

@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
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
coolhack This trick is cool dailyhack This issue belongs to dailyhack.xyz git
Projects
None yet
Development

No branches or pull requests

2 participants