Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Isn't it asking someone to pull your branch (if forked) then merge it into to master


Git pull is git fetch plus git merge.


I've run into so many people that think "git pull" doesn't do anything unless you run "git fetch" first.

In my 10+ year career, I'm not sure I've ever run "git fetch" manually. I've never had a time where I wanted to fetch upstream changes, but not merge (or rebase) them into my branch.


Yeah, I don't remember having done that either. But I've often had changes where the merge failed because of un-checked-in changes, and then it was convenient to be able to run `git merge` after checking in the changes rather than `git pull` because it didn't need to talk to the remote.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: