Last active
August 29, 2015 14:22
-
-
Save zxshinxz/a1120e190e30884eedf1 to your computer and use it in GitHub Desktop.
apply new git ignore
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
// Making changes to .gitignore and make ignored files available locally | |
//change .gitignore and add commit everything before doing this | |
git rm -r --cached some-directory | |
git commit -m 'Remove the now ignored directory "some-directory"' | |
git push origin master | |
// After this normal workflow. Note ignored files are available locally. | |
git add . | |
git commit -m 'blar' | |
git push origin master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment