[git-users] Re: remove file from repo but not file system

2009-07-31 Thread ryanlonac
Thanks Jeff, the confirmation of git rm -r --cached dir was exactly what i needed! On Jul 31, 7:57 am, Jeffrey wrote: > All of the inner workings aside, you can see what I meant by a simple > test: try to add an empty folder to a git repo.  There will be no > changes to commit.  This is what I m

[git-users] Re: remove file from repo but not file system

2009-07-31 Thread Jeffrey
All of the inner workings aside, you can see what I meant by a simple test: try to add an empty folder to a git repo. There will be no changes to commit. This is what I mean by not tracking directories - there is no way to tell it to track a directory which does not actually contain any content.

[git-users] Re: remove file from repo but not file system

2009-07-30 Thread Rick DeNatale
On Thu, Jul 30, 2009 at 9:49 AM, Jeffrey wrote: > Git doesn't really track folders - it just tracks files. If I understand it correctly, git DOES track folders/directories. In most operating systems, directories are really just special files containing pointers to and meta-information about othe

[git-users] Re: remove file from repo but not file system

2009-07-30 Thread Jeffrey
Git doesn't really track folders - it just tracks files. You'll see a folder listed as untracked in the output of git status, but that's just a simplification so you don't see the whole list of untracked files inside it. Presumably you have one or more tracked files inside the folder. You're ri