I somehow managed to add a file with an absolute path (c:\foo\bar
\file.c) to my repository (in c:\foo).  When I do a "git ls-files",
this file shows up with its absolute path (as compared to all the
other files, which correctly show the path relative to the
repository).

If I do a "git rm c:\foo\bar\file.c", I get an error saying that the
file is outside the repository.

I finally did a "git rm bar\file.c" and this seems to work; "git ls-
files" no longer shows the file.  However, when I clone the repository
and go a "git ls-files", I can once again see the file (c:\foo\bar
\file.c).

How do I get rid of this absolute path?

Thanks...

-- jeff

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.

Reply via email to