Hello,
> Renaming a remote requires changes in several places:
> * The remote configuration in .git/config
> * The remote branch directory in .git/refs/remotes/
> * Any remote branch heads which reference other remote branches, such as HEAD
> (which will likely contain something like "ref:
> refs/remotes/remotename/branchname")
> * The reflogs in .git/logs/refs/remotes/
git branch -r -m ...
should do a all but the first item for you. Moreover you get an reflog
entry and it works with packed refs.
You have to call git branch for each tracking branch though, and it
doesn't help you to edit .git/config.
Best regards
Uwe
--
Uwe Kleine-König, Software Engineer
Digi International GmbH Branch Breisach, Küferstrasse 8, 79206 Breisach, Germany
Tax: 315/5781/0242 / VAT: DE153662976 / Reg. Amtsgericht Dortmund HRB 13962
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]