git/list[1] front-page[2] threads[3] people[4] search[5] about
 

RE: Moving git

From
Richard <richard@webdezign.co.uk>
Date
Oct 16, 2009, 15:45 UTC
Message-ID
<8440EA2C12E50645A68C4AA988716651244654@SERVER.webdezign.local>
In-Reply-To
<vpqk4yv2ws6.fsf@bauges.imag.fr>
Hi Matthieu,
Thanks for replying.

Basically, I used git-svn to import from git. I'm trying to get rid of the origin branch. (I probably should have used the no-metdata switch).

The command I used was
git branch prune origin

I tried "git remote rm origin" which worked on my local win32 machine, but the linux server I was working on did not recognise "git remote rm".

I'm pretty sure git stores the current git directory as I've seen the --git-dir and --work-tree environment variables. Plus I also noticed on msysgit gives " Local uncommitted changes, not checked in to index" sometimes, when I move the directory.

Regards,
Richard
-----Original Message-----
From: Matthieu Moy [mailto:Matthieu.Moy@grenoble-inp.fr] 
Sent: 16 October 2009 16:17
To: Richard
Cc: git@vger.kernel.org
Subject: Re: Moving git
Richard Lee <richard@webdezign.co.uk> writes:
> Hi Git forum,
>
> I've just started using git yesterday, so I'm very new. So please
excuse if
> I've done something the wrong way.
>
> I cloned a git directory/repository? and then moved it. I'm trying to
prune
> branches and it gives
Which command did you type?
-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/
Previous: Matthieu MoyNext: Matthieu Moy
Message 3 of 11 in “Moving git”
  1. Richard LeeOct 16, 2009
  2. Matthieu MoyOct 16, 2009
  3. RichardOct 16, 2009
  4. Matthieu MoyOct 16, 2009
  5. Santi BéjarOct 16, 2009
  6. Richard LeeOct 16, 2009
  7. Matthieu MoyOct 16, 2009
  8. Todd ZullingerOct 16, 2009
  9. rhleeOct 19, 2009
  10. Daniel BarkalowOct 20, 2009
  11. RichardOct 20, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.