Hi All

I screwed up by making a working branch but not switching to it.

ie something like

git branch fix-up
edit edit
git commit
edit edit
git commit

Now I have a few  commits on master that I really wanted on fix-up and fix-up 
is where I wanted master to be.

I think I can fix this by using something like
git reset --soft HEAD^^
git checkout fix-up
git commit ...


But can I fix this by flipping the names around as follows?

git branch -m master tmp
git branch -m fix-up master
git branch -m tmp fix-up

Thanks

Charles

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.

Reply via email to