Github minor issues about fork
怪我咯
怪我咯 2017-05-02 09:37:40
0
3
762

I am new to Github and have just started learning. I hope the experts can answer my questions
1. After forking an open source project, how can I confirm that the submitted code is modified in my own fork project?
Mainly because I am worried that if the push operation is performed incorrectly, it will cause trouble to the original author.
2. How to synchronize the latest modifications of open source projects to my fork without affecting the modifications I have already made?

怪我咯
怪我咯

走同样的路,发现不同的人生

reply all(3)
左手右手慢动作

Don’t worry, you can only modify the project you forked, you have no right to modify the original author’s project. If you need to push something to the original project, you need to use Pull Request and get the consent of the original author.
To synchronize the modifications of the original project, you first need to clone your code locally, add the address of the original project to the remote warehouse list, and then merge the two through merging.

習慣沉默

1. How can you push to the original author without giving you permission? Don’t worry
2. Fork the author into a new branch, and remove the source of the original author from your own branch

phpcn_u1582
  1. No, as long as what you clone is your own fork project

  2. Suppose a new remote is your original project, then pull the above changes to one of your branches, and then merge them into your trunk

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template