Skip to content

Instantly share code, notes, and snippets.

@jonnymaceachern
Last active July 14, 2017 18:40
Show Gist options
  • Save jonnymaceachern/9968075c62e525c5dd71 to your computer and use it in GitHub Desktop.
Save jonnymaceachern/9968075c62e525c5dd71 to your computer and use it in GitHub Desktop.
Basically a .gitignore file for your local environment. Allows you to ignore files without updating the .gitignore directives.
exclude = !sh -c 'echo "$1" >> .git/info/exclude' -
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment