Forked from mandiwise/Stop tracking directory in Git repo
Created
April 29, 2018 12:08
-
-
Save ahmed-bhs/e0fd029813c28c3b1f4642e0abb53e4d to your computer and use it in GitHub Desktop.
A command to stop tracking and entire directory in a Git repo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Reference: http://stackoverflow.com/questions/936249/stop-tracking-and-ignore-changes-to-a-file-in-git | |
$ git rm --cached -r <dir> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment