Skip to content

Instantly share code, notes, and snippets.

@chiehwen
Created July 14, 2014 11:25
Show Gist options
  • Save chiehwen/8975aac1e6a56449ab61 to your computer and use it in GitHub Desktop.
Save chiehwen/8975aac1e6a56449ab61 to your computer and use it in GitHub Desktop.
A .gitignore file should be committed into your repository, in order to share the ignore rules with any other users that clone the repository.
# 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/*.log
/tmp
# Ignore secrecy file.
config/database.yml
config/config.yml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment