Archives: February 2013

Git: untrack files without deleting them

$ git rm --cached pattern

The pattern can be a filename or a file glob pattern like folderName/* to untrack all the files in folderName.