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?
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
No, as long as what you clone is your own fork project
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