Skip to content

Instantly share code, notes, and snippets.

@oilsinwater
Created February 5, 2018 03:34
Show Gist options
  • Save oilsinwater/0b07cac875457b163d7f67e6c543de7b to your computer and use it in GitHub Desktop.
Save oilsinwater/0b07cac875457b163d7f67e6c543de7b to your computer and use it in GitHub Desktop.
.gitignore template
# See https://help.github.com/articles/ignoring-files for more about ignoring files.
#
# If you find yourself ignoring temporary files generated by your text editor
# or operating system, you probably want to add a global ignore instead:
# git config --global core.excludesfile '~/.gitignore_global'
# Ignore bundler config.
/.bundle
# Ignore the default SQLite database.
/db/*.sqlite3
/db/*.sqlite3-journal
# Ignore all logfiles and tempfiles.
/log/*
/tmp/*
!/log/.keep
!/tmp/.keep
# Ignore Byebug command history file.
.byebug_history
# Ignore any .DS_Store files in repo
/.DS_Store
.DS_Store
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment