#GIT Clean up files that were pushed that are now in the .gitignore

Home   »   #GIT Clean up files that were pushed that are now in the .gitignore

# https://www.codeblocq.com/2016/01/Untrack-files-already-added-to-git-repository-based-on-gitignore/

# First commit everything, including the .gitignore

git rm -r --cached .

git add .

git commit -m ".gitignore fix"

Leave a Reply

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