Skip to content

Instantly share code, notes, and snippets.

@sashadev-sky
Created November 28, 2018 22:13
Show Gist options
  • Save sashadev-sky/af5db90034f59c47d1717ed1fa3ab91c to your computer and use it in GitHub Desktop.
Save sashadev-sky/af5db90034f59c47d1717ed1fa3ab91c to your computer and use it in GitHub Desktop.
Gitignore reference
# Comprehensive sample .gitignore file for reference
#############################################
# compiled from github.com/github/gitignore #
#############################################
### Custom ###
*.db
*.sqlite
### OSX ###
.DS_Store
.AppleDouble
.LSOverride
# Icon must end with two \r
Icon
# Thumbnails
._*
# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk
### Ruby ###
*.gem
*.rbc
/.config
/coverage/
/InstalledFiles
/pkg/
/spec/reports/
/spec/examples.txt
/test/tmp/
/test/version_tmp/
/tmp/
## Documentation cache and generated files:
/.yardoc/
/_yardoc/
/doc/
/rdoc/
## Environment normalization:
/.bundle/
/vendor/bundle
/lib/bundler/man/
# these should all be checked in to normalize the environment (exception: for a library or gem, you might want to ignore these files since the code is
# intended to run in multiple environments):
# Gemfile.lock, .ruby-version, .ruby-gemset
### Rails ###
capybara-*.html
/log
/db/*.sqlite3
/db/*.sqlite3-journal
/public/system
/coverage/
/spec/tmp
**.orig
rerun.txt
pickle-email-*.html
# TODO Comment out this rule if you are OK with secrets being uploaded to the repo
config/initializers/secret_token.rb
config/master.key
# Only include if you have production secrets in this file, which is no longer a Rails default
config/secrets.yml
# TODO Comment out this rule if environment variables can be committed
.env
# Ignore precompiled javascript packs
/public/packs
/public/packs-test
/public/assets
# Ignore Byebug command history file.
.byebug_history
### Node ###
## Webpack:
/app/assets/javascripts/bundle.js
/app/assets/javascripts/bundle.js.map
# Logs
logs
*.log
npm-debug.log*
# Runtime data
pids
*.pid
*.seed
# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov
# Coverage directory used by tools like istanbul
coverage
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt
# node-waf configuration
.lock-wscript
# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release
# Ignore node_modules (commenting this out is preferred by some people)
node_modules
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment