git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* renaming remote branches
@ 2009-04-16  3:27 Miles Bader
  2009-04-16  6:59 ` Jeff King
  0 siblings, 1 reply; 9+ messages in thread
From: Miles Bader @ 2009-04-16  3:27 UTC (permalink / raw)
  To: git

I can "rename" a remote branch by doing:

   git push REMOTE REMOTE/OLD:refs/heads/NEW
   git push REMOTE :OLD

is there any better way to do this (I mean, er... more
user-friendly/less-dangerous/... I dunno... "better" :-)?

Also, I note that the old name ("OLD") remains in .git/info/refs, both
locally and in the remote; is this a problem?  I can update the local
.git/info/refs by running "git update-server-info", but I'm not sure how
to do in for the remote repo without having a login there...

Thanks,

-miles

-- 
Erudition, n. Dust shaken out of a book into an empty skull.

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2009-04-17 16:22 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-16  3:27 renaming remote branches Miles Bader
2009-04-16  6:59 ` Jeff King
2009-04-16  8:00   ` Miles Bader
2009-04-16  8:18     ` Jeff King
2009-04-16 13:09   ` Jay Soffian
2009-04-16 13:50     ` Jeff King
2009-04-17  0:51       ` Miles Bader
2009-04-17 12:07         ` Jeff King
2009-04-17 16:20     ` Dmitry Potapov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).