From: Russell Steicke Date: Wed, 06 Jan 2010 00:07:48 GMT Subject: Re: A question about changing remote repo name Message-ID: In-Reply-To: <60ce8d251001042030l75c5443gf173f127ad206df3@mail.gmail.com> On Tue, Jan 5, 2010 at 12:30 PM, Dongas wrote: > I did a few more steps: > root@ubuntu:/work/git-repo/free_monkey# grep -wrin 'origin' . > ./.git/packed-refs:2:abfae429bb4081043e84681e5ee94102085f87e0 > refs/remotes/origin/master > ./.git/refs/remotes/karmic/HEAD:1:ref: refs/remotes/origin/master > > Change 'origin' to 'karmic' in above files. Ah yes, I forgot about those files. I _think_ (but I'm not certain without digging into the code) that it's always safe to rm packed-refs, as that file is a cache for quicker access to the refs. At least it's never caused me any problems. In any case, your approach of grepping the whole of .git for interesting strings is a good way to learn about the implementation. -- Virus found in this message.