From: "Sébastien Mazy" <melyadon@gmail.com>
To: Michael J Gruber <git@drmicha.warpmail.net>
Cc: git@vger.kernel.org
Subject: Re: How to prefix existing svn remotes?
Date: Fri, 23 Jan 2009 18:13:55 +0100 [thread overview]
Message-ID: <20090123171355.GA20413@locahost> (raw)
In-Reply-To: <4979BFE7.8090402@drmicha.warpmail.net>
On Fri, Jan 23, 2009 at 02:02:31PM +0100, Michael J Gruber wrote:
> You can do (bash)
>
> for b in trunk branch0
> do
> git update-ref refs/remotes/yournewprefix/$b refs/remotes/$b
> git update-ref -d refs/remotes/$b
> done
That did the trick. Thank you so much!
By the way, my renamed remote tracking svn branches now show under
.git/refs/ as expected.
--
Sébastien Mazy
next prev parent reply other threads:[~2009-01-23 17:15 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-22 17:32 How to prefix existing svn remotes? Sébastien Mazy
2009-01-23 11:13 ` Michael J Gruber
2009-01-23 12:42 ` Sébastien Mazy
2009-01-23 13:02 ` Michael J Gruber
2009-01-23 17:13 ` Sébastien Mazy [this message]
2009-01-23 17:51 ` Jakub Narebski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090123171355.GA20413@locahost \
--to=melyadon@gmail.com \
--cc=git@drmicha.warpmail.net \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).