i.e., stop tracking the file but not delete it from your system use:
git rm --cached filename
First commit any outstanding code changes, and then, run this command:
git rm -r --cached .
To untrack every file that is now in your
blog comments powered by Disqus