After weeks of working with half a dozen different branches and mergers, both on my laptop and at work, as well as on the desktop at home, my story is a bit confused. For example, I just made a selection and then combined the master with origin / master. Now when I do git show-branch, the output is as follows:
! [login] Changed domain name.
! [master] Merge remote branch 'origin / master'
! [migrate-1.9] Migrating to 1.9.1 on Heroku
! [rebase-master] Merge remote branch 'origin / master'
----
- - [master] Merge remote branch 'origin / master'
+ + [master ^ 2] A bit of re-arranging and cleanup.
- - [master ^ 2 ^] Merge branch 'rpx-login'
++ [master ^ 2 ^^ 2] Commented out some debug logging.
++ [master ^ 2 ^^ 2 ^] Monkey-patched Rack :: Request # ip
++ [master ^ 2 ^^ 2 ~ 2] dump each request to log
....
I would like to clear this with git rebase. For this purpose, I created a new branch, rebase-master, and on this branch I tried git rebase <common-ancestor>. However, I have to resolve many conflicts, and the end result on the rebase-master server no longer matches the corresponding version on master, which has already been tested and works!
It seemed to me that I saw a solution to this, but I can no longer find it. Does anyone know how to do this? Or will these confusing link names disappear when I start deleting unnecessary branches that Iโve already merged with?
I am the only developer in this project, so no one will be affected.
git merge rebase
Lawrence I. Siden Jun 11. '10 at 21:00 2010-06-11 21:00
source share