Another gem I keep forgetting; stop tracking a file/directory in git without deleting it.

git rm -r --cached <directory> or git rm --cached <file>

January 1, 2013


Previous post
Git Quick Setup Here is another piece of common git commands I keep forgetting. I think the reason I keep running into these issues is that I keep switching between
Next post
Swappable Components Whenever possible and reasonable, dependencies should be easily swappable when building your application