Github - Fork a private repo

前端 未结 2 1286
挽巷
挽巷 2021-02-01 05:06

I have been added to an organization that has some private repositories and I need to send them a pull request with some changes but I don\'t know if I can.

I haven\'t a

2条回答
  •  死守一世寂寞
    2021-02-01 05:20

    You can make a pull request from a branch in the private repository without the need to fork it.

    The workflow we are starting to use is:

     1. clone the private repository
     2. make a branch
     3. work on the branch
     4. push the branch to the private repository
     5. goto GitHub and create a pull request from the branch on the private repository
     6. someone else reviews the the pull request and decides to merge it with master on GitHub
     7. delete the branch unless there was a problem and it was not merged then go back to #3
    

提交回复
热议问题