Skip to content
Discussion options

You must be logged in to vote

If you don’t have write access to the repo, you have to fork. That’s the normal way to contribute.

Forking lets you work on your own copy without needing permission. Then you open a pull request to suggest your changes.

Branching is only for when you own the repo or have access. You can’t push branches to someone else's repo unless they added you as a collaborator.

Fork = safe, works for everyone.
Branch = only if you’re part of the team.

Even for small fixes like typos, just fork, make the change, open a PR — it’s simple and it won’t break anything.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by rafi-shammim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Repositories The core of version-controlled code storage Question Ask and answer questions about GitHub features and usage
2 participants