How to contribute to someone else's repository?

前端 未结 5 1510
小蘑菇
小蘑菇 2021-01-18 22:48

I have a friend who has a repository in his GitHub account. I want to contribute (pull/push) to the master branch (the only branch) on that repo directly.

How would

5条回答
  •  星月不相逢
    2021-01-18 23:46

    The right way would be to fork his repository, do your work and then create a pull request. Then he could review it and decide to merge it into his work. Here's a good description: https://guides.github.com/introduction/flow/index.html

    Edit: added a link to github.

提交回复
热议问题