Saturday, March 5, 2016

Git - Remove all file in repository based on gitignore file

$ git rm -r --cached .
$ git add .
$ git commit -m "Removing all files in .gitignore"

No comments:

Post a Comment