Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 533 Bytes

untrack-a-directory-of-files-without-deleting.md

File metadata and controls

13 lines (10 loc) · 533 Bytes

Untrack A Directory Of Files Without Deleting

In Untrack A File Without Deleting It, I explained how a specific file can be removed from tracking without actually deleting the file from the local file system. The same can be done for a directory of files that you don't want tracked. Just use the -r flag:

$ git rm --cached -r <directory>

source