git - Rebasing and Pull request -
i working on open source plugin , have made changes necessary. currently, in master branch of version of work. want rebase updates original work , send pull request. please steps need take rebasing , pull request?
you can simple rebase follows:
git fetch upstream # or whatever remote git rebase upstream/master this might introduce conflicts need fix before pushing obviously.
you can submit pull request. i'd suggest doing named branch rather master. can when pushing github (or remote) follows:
git push origin master:my_awesome_feature and create branch on remote named my_awesome_feature
if want squash commits (interactive rebase), you'll still need above steps, here: squash last x commits using git
Comments
Post a Comment