Github request without old commits

I developed a project on github. I make one commit and pull the request. This agreement has been approved. Then I make a second latch and pull it to request. But there were 2 commits in the pull request: my second commit and the old commit that was approved. How can I sync my repository and master repository?

+12
git github pull-request
Mar 24 '11 at 6:32
source share
1 answer

Merge back from the upstream repository or create a new migration request in a new branch.

Or reformat from top to top:

git remote add upstream (url-for-upstream-repository) git fetch upstream git rebase upstream/master git push -f origin (do new pull request on website) 
+18
Mar 24 2018-11-11T00:
source share



All Articles