I have a git repository that\'s used only to hold graphics and sound files used in several projects. They are all in one directory without sub-directories. Now I just create
This command will cause git to untrack your directory and all files under it without actually deleting them:
git rm -r --cached
The -r option causes the removal of all files under your directory.
The --cached option causes the files to only be removed from git's index, not your working copy. By default git rm would delete .