Skip to content

Instantly share code, notes, and snippets.

@stereosupersonic
Last active April 23, 2020 14:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stereosupersonic/77e929b47aec7a05d2322ce03a314706 to your computer and use it in GitHub Desktop.
Save stereosupersonic/77e929b47aec7a05d2322ce03a314706 to your computer and use it in GitHub Desktop.
my rails6 git ignore
# 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 all logfiles and tempfiles!
/log/*
/tmp/*
!/log/.keep
!/tmp/.keep
/public/assets
/public/packs
/public/packs-test
.byebug_history
# Ignore master key for decrypting credentials and more.
/config/master.key
/config/credentials/*.key
# Ignore node and yarn
/node_modules
/yarn-error.log
yarn-debug.log*
.yarn-integrity
capybara-*.html
/coverage/
/spec/tmp
*.orig
.env
.env.*
/.bundle
# Ignore uploaded files in development
/storage/*
!/storage/.keep
/public/uploads
/public/system
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment