Last active
December 3, 2016 15:15
-
-
Save austinsamsel/e52d3bea2f6e9c19a04dc01eeeed74fb to your computer and use it in GitHub Desktop.
remove files from repository that are listed in gitignore
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 -m "Removing all files in .gitignore" | |
# OR, in one line: | |
git rm -r --cached . && git add . && git commit -m "Removing all files in .gitignore" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment