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

Popular posts from this blog

java - pagination of xlsx file to XSSFworkbook using apache POI -

Unlimited choices in BASH case statement -

apache - How do I stop my index.php being run twice for every user -