Untrack git files

This command will cause git to untrack your directory and all files under it without actually deleting them:

git rm -r --cached <your directory>

Leave a Reply

Your email address will not be published. Required fields are marked *