Created
October 31, 2013 11:50
-
-
Save pajcho/c1c5daaab8ca225dfc72 to your computer and use it in GitHub Desktop.
Ignore folders in git, used for tmp, logs, cache. Run as command from terminal
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
// Ignore folder | |
git update-index --assume-unchanged fuel/app/logs/ | |
git update-index --assume-unchanged fuel/app/cache/ | |
git update-index --assume-unchanged fuel/app/tmp/ | |
// Un-Ignore folder | |
git update-index --no-assume-unchanged fuel/app/logs/ | |
git update-index --no-assume-unchanged fuel/app/cache/ | |
git update-index --no-assume-unchanged fuel/app/tmp/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment