git-fork

Are Git forks actually Git clones?

心不动则不痛 提交于 2019-11-25 22:42:05
问题 I keep hearing people say they\'re forking code in Git. Git \"fork\" sounds suspiciously like Git \"clone\" plus some (meaningless) psychological willingness to forgo future merges. There is no fork command in Git, right? GitHub makes forks a little more real by stapling correspondence onto it. That is, you press the fork button and later, when you press the pull request button, the system is smart enough to email the owner. Hence, it\'s a little bit of a dance around repository ownership and

How to do a GitHub pull request

老子叫甜甜 提交于 2019-11-25 22:31:55
问题 How do I create and/or send a pull request to another repository hosted on GitHub? 回答1: (In addition of the official "GitHub Help 'Using pull requests' page", see also "Forking vs. Branching in GitHub", "What is the difference between origin and upstream in GitHub") Couple tips on pull-requests: Assuming that you have first forked a repo , here is what you should do in that fork that you own: create a branch : isolate your modifications in a branch. Don't create a pull request from master ,