Good. If I am on a branch (say working ) and I want to merge the changes with another branch (for example, master ), then I run the git-merge master command while in the working branch, and the changes are merged without reinstalling the story at all. If I run git-rebase master , the changes to master will be reordered to be placed at the top of the working branch. But what if I want to merge the changes from master , but reinstall my changes to working to be at the top? How should I do it? It can be done?
I can run git-rebase working in my master branch to put my changes on top in the master branch, but I would like to be able to do this in my working branch, and I have no idea how. The closest I can come up with is to create a new branch from master and then reformat the working changes on top of it, but then I will have a new branch instead of changing the working branch.
git git-rebase merge rebase
Jonathan M Davis Sep 04 '11 at 4:14 2011-09-04 04:14
source share