Reputation: 75
After doing rebase and several git rebase --continue
I ended up in a detached head.
My goal is to push my local commits in my-feature
branch in origin
remote to the master
branch in github
remote. Any solution?
Upvotes: 0
Views: 376
Reputation: 1779
Finish the rebase until you don't get git rebase --continue
in your status.
If still detached, create a temporary branch in the detached location:
$ git branch tmp
Then push tmp
to the master
branch on github
:
$ git push github tmp:master
Upvotes: 1