Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Git Bash indicates wrong branch after performing rebase

Recently I had to do a rebase in one of my branches that was successfully done. The conflicts were solved, the branch works as expected and the push was accepted into the remote repo, but after the rebase, git stoped exhibiting the current branch I’m in and always shows the one that was rebased as the current one (as shown in the atached printscreen).

Git indicating the old branch, even though I already checked out to another

I can’t figure out a way of solving this. I tried some basic stuff like checking out to other branches and pulling the remote, but nothing solved it. Since this is a work computer in which I have almost no permissions, I’d like to try any other solution before resorting to re-installing Git or re-cloning the repo, since I would need to ask someone to do these actions for me.

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

You are still in the middle of your rebase ("REBASE 6/6"). You haven’t completed your rebase. You need to run git rebase --continue to continue (and complete) the rebase.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading