On Tue, 22 May 2012 16:08:54 +0100
Andrew Hardy <andrew_ha...@hardysoft.co.uk> wrote:

> I did a reset master branch to here and used the wrong reset type I
> think.
> Consequeently my master branch was screwed up.
> Will I just have to keep working with dev3 all the time from now on?

To be honest I faild to understand the explanation I elided, but
judging from the subject, you have two ways to go:

1) Rename branches.  Git has `git branch -m ...` which you can use
   to rename "master" to something else and then "dev3" to "master".

2) Reset the master branch to point to the same commit "dev3" points to.
   Notice that you will lost the line of history "master" pointed to
   before resetting so you might want to first fork a branch off master
   or tag its tip commit.

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 
For more options, visit this group at 

Reply via email to