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

Re: Moving git

From
Richard Lee <richard@webdezign.co.uk>
Date
Oct 16, 2009, 17:04 UTC
Message-ID
<25928820.post@talk.nabble.com>
In-Reply-To
<25926819.post@talk.nabble.com>
Hi all,

Thank you to Matthieu Moy and Santi Béjar who both told me to check .git/config.

The reason why I had problems was because I was using git config --get-all (with no regex). I then used git config -l and saw the remote local path to the repository that I used to clone.

The reason I had problem with git remote rm was because I was using version 1.5.2 as I installed it from yum. (This is what I hate about CentOS, all the repositories are old as dirt.) I compiled version 1.6.5 and the command was there. I think the ability probably was there in 1.5.2, but you probably had to do some extra magic stuff to completely remove the repository. And by trying to git remote prune didn't help either as I had deleted the local repository.

I now could "git remote rm origin" with no problems after moving the whole git directory.

Richard
-- 
View this message in context: http://www.nabble.com/Moving-git-tp25926819p25928820.html
Sent from the git mailing list archive at Nabble.com.
Previous: Santi BéjarNext: Matthieu Moy
Message 6 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.