Forked from alwerner/retroactively add items to .gitignore
Created
June 6, 2016 03:18
-
-
Save rjpcasalino/3aae847354fb5741c41d5ff73fceb466 to your computer and use it in GitHub Desktop.
retroactively add items to .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
// make change to .gitignore | |
git rm --cached <filename> | |
// or, for all files | |
git rm -r --cached . | |
git add . | |
// then | |
git add -u | |
git commit -m "manually delete files" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment