"Richard" <richard@xxxxxxxxxxxxxxx> writes: > 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. Git doesn't store them by default for the current repository. "git rev-parse --git-dir" guesses where your .git/ directory is (looking for ./.git/, ../.git, and so on). OTOH, Git stores URLs for remote repositories (see .git/config). > Plus I also noticed on msysgit gives " Local uncommitted changes, > not checked in to index" sometimes, when I move the directory. I don't know msysgit, but I guess you'll have problems if your repository is on a FAT filesystem. Is it the case? -- Matthieu Moy http://www-verimag.imag.fr/~moy/ -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html