Skip to content

Instantly share code, notes, and snippets.

@mandiwise
Last active April 11, 2023 16:28
Show Gist options
  • Star 6 You must be signed in to star a gist
  • Fork 5 You must be signed in to fork a gist
  • Save mandiwise/572d5ad49fb7f2c0947f to your computer and use it in GitHub Desktop.
Save mandiwise/572d5ad49fb7f2c0947f to your computer and use it in GitHub Desktop.
A command to stop tracking and entire directory in a Git repo
// Reference: http://stackoverflow.com/questions/936249/stop-tracking-and-ignore-changes-to-a-file-in-git
$ git rm --cached -r <dir>
@nikeshvarma
Copy link

awesome work thanks for help me

can you contact me at nikeshvarma50@gmail.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment