Skip to content

Instantly share code, notes, and snippets.

@pajcho
Created October 31, 2013 11:50
Show Gist options
  • Save pajcho/c1c5daaab8ca225dfc72 to your computer and use it in GitHub Desktop.
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
// 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