Created
January 20, 2018 13:45
-
-
Save michaelbukachi/1373d7a2e2dab27c4b25fbc14dd51d41 to your computer and use it in GitHub Desktop.
Git remove ignored files from Git index
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
#!/bin/bash | |
git rm -r --cached . | |
git add . | |
git commit -am "Remove ignored files" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment