DEV Community

Discussion on: Push to a forked pull request branch on GitHub—Am I doing this right?

Collapse
 
jenc profile image
Jen Chan

Was just wondering this and also thinking, a fork is really just another branch right?

Collapse
 
coolshaurya profile image
Shaurya • Edited

A fork is not a branch, but a clone of the original repo with some github sugar added.

Collapse
 
brandinchiu profile image
Brandin Chiu • Edited

Essentially, yes.

You get a personal copy of the repo, but can leave it attached to the source to quickly and easily pull their changes into your copy or push yours to theirs:

github.community/t5/Support-Protip...