Tuesday, June 23, 2015

Git remove files that were pushed but are added to .gitignore file

git rm -r --cached . 
git add .
git commit -am "Remove files ignored in .gitignore"

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.