Created
February 12, 2021 20:09
-
-
Save csandman/2d1a6f2013a8fcd543365984aee264da to your computer and use it in GitHub Desktop.
A git command to remove all files that have been added to the .gitignore from github
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git rm -r --cached . && git add . && git commit -am "Remove ignored files" && git push |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment