Skip to content

Instantly share code, notes, and snippets.

@zicklag
Created February 28, 2020 20:48
Show Gist options
  • Save zicklag/82ebc2cceb531817b9eb42cf77ceab46 to your computer and use it in GitHub Desktop.
Save zicklag/82ebc2cceb531817b9eb42cf77ceab46 to your computer and use it in GitHub Desktop.
These are the coolest two lines that should be in *every* .gitignore file
# Ignore everything that has "gitignore" in the name, except for the .gitignore file
*gitignore*
!.gitignore
# This makes it super easy to backup source files and other resources that you happen to want in your repo
# dir at the moment, but that you don't want to end up accidentally commiting.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment