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

On GitHub, too, a "pull request" is literally just asking someone to pull from your branch.




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.

Except your branch has to be on GitHub. The point is pulling used to happen across different repos a lot more.



Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

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

Search: