in my repo i removed branch 'master' and now i have branches like:
 * rel-1.0
 * rel-2.0

now i want to HEAD leads to rel-2.0,
so, after login to server with remote repo i did "echo 'refs/heads/
rel-2.0' > HEAD"

that's ok but, how can i do it using git, without using ssh+echo?

at cloned repo i can do:
 * git update-ref HEAD refs/heads/rel-2.0
but i don't know how to push this information to remote repo

can U help me?
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