|
| 1 | +# Created by https://www.toptal.com/developers/gitignore/api/vim,emacs,visualstudiocode,linux,windows,ruby,rails |
| 2 | +# Edit at https://www.toptal.com/developers/gitignore?templates=vim,emacs,visualstudiocode,linux,windows,ruby,rails |
| 3 | + |
| 4 | +### Emacs ### |
| 5 | +# -*- mode: gitignore; -*- |
| 6 | +*~ |
| 7 | +\#*\# |
| 8 | +/.emacs.desktop |
| 9 | +/.emacs.desktop.lock |
| 10 | +*.elc |
| 11 | +auto-save-list |
| 12 | +tramp |
| 13 | +.\#* |
| 14 | + |
| 15 | +# Org-mode |
| 16 | +.org-id-locations |
| 17 | +*_archive |
| 18 | + |
| 19 | +# flymake-mode |
| 20 | +*_flymake.* |
| 21 | + |
| 22 | +# eshell files |
| 23 | +/eshell/history |
| 24 | +/eshell/lastdir |
| 25 | + |
| 26 | +# elpa packages |
| 27 | +/elpa/ |
| 28 | + |
| 29 | +# reftex files |
| 30 | +*.rel |
| 31 | + |
| 32 | +# AUCTeX auto folder |
| 33 | +/auto/ |
| 34 | + |
| 35 | +# cask packages |
| 36 | +.cask/ |
| 37 | +dist/ |
| 38 | + |
| 39 | +# Flycheck |
| 40 | +flycheck_*.el |
| 41 | + |
| 42 | +# server auth directory |
| 43 | +/server/ |
| 44 | + |
| 45 | +# projectiles files |
| 46 | +.projectile |
| 47 | + |
| 48 | +# directory configuration |
| 49 | +.dir-locals.el |
| 50 | + |
| 51 | +# network security |
| 52 | +/network-security.data |
| 53 | + |
| 54 | + |
| 55 | +### Linux ### |
| 56 | + |
| 57 | +# temporary files which can be created if a process still has a handle open of a deleted file |
| 58 | +.fuse_hidden* |
| 59 | + |
| 60 | +# KDE directory preferences |
| 61 | +.directory |
| 62 | + |
| 63 | +# Linux trash folder which might appear on any partition or disk |
| 64 | +.Trash-* |
| 65 | + |
| 66 | +# .nfs files are created when an open file is removed but is still being accessed |
| 67 | +.nfs* |
| 68 | + |
| 69 | +### Rails ### |
| 70 | +*.rbc |
| 71 | +capybara-*.html |
| 72 | +.rspec |
| 73 | +/db/*.sqlite3 |
| 74 | +/db/*.sqlite3-journal |
| 75 | +/db/*.sqlite3-[0-9]* |
| 76 | +/public/system |
| 77 | +/coverage/ |
| 78 | +/spec/tmp |
| 79 | +*.orig |
| 80 | +rerun.txt |
| 81 | +pickle-email-*.html |
| 82 | + |
| 83 | +# Ignore all logfiles and tempfiles. |
| 84 | +/log/* |
| 85 | +/tmp/* |
| 86 | +!/log/.keep |
| 87 | +!/tmp/.keep |
| 88 | + |
| 89 | +# TODO Comment out this rule if you are OK with secrets being uploaded to the repo |
| 90 | +config/initializers/secret_token.rb |
| 91 | +config/master.key |
| 92 | + |
| 93 | +# Only include if you have production secrets in this file, which is no longer a Rails default |
| 94 | +# config/secrets.yml |
| 95 | + |
| 96 | +# dotenv, dotenv-rails |
| 97 | +# TODO Comment out these rules if environment variables can be committed |
| 98 | +.env |
| 99 | +.env*.local |
| 100 | + |
| 101 | +## Environment normalization: |
| 102 | +/.bundle |
| 103 | +/vendor/bundle |
| 104 | + |
| 105 | +# these should all be checked in to normalize the environment: |
| 106 | +# Gemfile.lock, .ruby-version, .ruby-gemset |
| 107 | + |
| 108 | +# unless supporting rvm < 1.11.0 or doing something fancy, ignore this: |
| 109 | +.rvmrc |
| 110 | + |
| 111 | +# if using bower-rails ignore default bower_components path bower.json files |
| 112 | +/vendor/assets/bower_components |
| 113 | +*.bowerrc |
| 114 | +bower.json |
| 115 | + |
| 116 | +# Ignore pow environment settings |
| 117 | +.powenv |
| 118 | + |
| 119 | +# Ignore Byebug command history file. |
| 120 | +.byebug_history |
| 121 | + |
| 122 | +# Ignore node_modules |
| 123 | +node_modules/ |
| 124 | + |
| 125 | +# Ignore precompiled javascript packs |
| 126 | +/public/packs |
| 127 | +/public/packs-test |
| 128 | +/public/assets |
| 129 | + |
| 130 | +# Ignore yarn files |
| 131 | +/yarn-error.log |
| 132 | +yarn-debug.log* |
| 133 | +.yarn-integrity |
| 134 | + |
| 135 | +# Ignore uploaded files in development |
| 136 | +/storage/* |
| 137 | +!/storage/.keep |
| 138 | +/public/uploads |
| 139 | + |
| 140 | +### Ruby ### |
| 141 | +*.gem |
| 142 | +/.config |
| 143 | +/InstalledFiles |
| 144 | +/pkg/ |
| 145 | +/spec/reports/ |
| 146 | +/spec/examples.txt |
| 147 | +/test/tmp/ |
| 148 | +/test/version_tmp/ |
| 149 | +/tmp/ |
| 150 | + |
| 151 | +# Used by dotenv library to load environment variables. |
| 152 | +# .env |
| 153 | + |
| 154 | +# Ignore Byebug command history file. |
| 155 | + |
| 156 | +## Specific to RubyMotion: |
| 157 | +.dat* |
| 158 | +.repl_history |
| 159 | +build/ |
| 160 | +*.bridgesupport |
| 161 | +build-iPhoneOS/ |
| 162 | +build-iPhoneSimulator/ |
| 163 | + |
| 164 | +## Specific to RubyMotion (use of CocoaPods): |
| 165 | +# |
| 166 | +# We recommend against adding the Pods directory to your .gitignore. However |
| 167 | +# you should judge for yourself, the pros and cons are mentioned at: |
| 168 | +# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control |
| 169 | +# vendor/Pods/ |
| 170 | + |
| 171 | +## Documentation cache and generated files: |
| 172 | +/.yardoc/ |
| 173 | +/_yardoc/ |
| 174 | +/doc/ |
| 175 | +/rdoc/ |
| 176 | + |
| 177 | +/.bundle/ |
| 178 | +/lib/bundler/man/ |
| 179 | + |
| 180 | +# for a library or gem, you might want to ignore these files since the code is |
| 181 | +# intended to run in multiple environments; otherwise, check them in: |
| 182 | +# Gemfile.lock |
| 183 | +# .ruby-version |
| 184 | +# .ruby-gemset |
| 185 | + |
| 186 | +# unless supporting rvm < 1.11.0 or doing something fancy, ignore this: |
| 187 | + |
| 188 | +# Used by RuboCop. Remote config files pulled in from inherit_from directive. |
| 189 | +# .rubocop-https?--* |
| 190 | + |
| 191 | +### Vim ### |
| 192 | +# Swap |
| 193 | +[._]*.s[a-v][a-z] |
| 194 | +!*.svg # comment out if you don't need vector files |
| 195 | +[._]*.sw[a-p] |
| 196 | +[._]s[a-rt-v][a-z] |
| 197 | +[._]ss[a-gi-z] |
| 198 | +[._]sw[a-p] |
| 199 | + |
| 200 | +# Session |
| 201 | +Session.vim |
| 202 | +Sessionx.vim |
| 203 | + |
| 204 | +# Temporary |
| 205 | +.netrwhist |
| 206 | +# Auto-generated tag files |
| 207 | +tags |
| 208 | +# Persistent undo |
| 209 | +[._]*.un~ |
| 210 | + |
| 211 | +### VisualStudioCode ### |
| 212 | +.vscode/* |
| 213 | +!.vscode/settings.json |
| 214 | +!.vscode/tasks.json |
| 215 | +!.vscode/launch.json |
| 216 | +!.vscode/extensions.json |
| 217 | +!.vscode/*.code-snippets |
| 218 | + |
| 219 | +# Local History for Visual Studio Code |
| 220 | +.history/ |
| 221 | + |
| 222 | +# Built Visual Studio Code Extensions |
| 223 | +*.vsix |
| 224 | + |
| 225 | +### VisualStudioCode Patch ### |
| 226 | +# Ignore all local history of files |
| 227 | +.history |
| 228 | +.ionide |
| 229 | + |
| 230 | +### Windows ### |
| 231 | +# Windows thumbnail cache files |
| 232 | +Thumbs.db |
| 233 | +Thumbs.db:encryptable |
| 234 | +ehthumbs.db |
| 235 | +ehthumbs_vista.db |
| 236 | + |
| 237 | +# Dump file |
| 238 | +*.stackdump |
| 239 | + |
| 240 | +# Folder config file |
| 241 | +[Dd]esktop.ini |
| 242 | + |
| 243 | +# Recycle Bin used on file shares |
| 244 | +$RECYCLE.BIN/ |
| 245 | + |
| 246 | +# Windows Installer files |
| 247 | +*.cab |
| 248 | +*.msi |
| 249 | +*.msix |
| 250 | +*.msm |
| 251 | +*.msp |
| 252 | + |
| 253 | +# Windows shortcuts |
| 254 | +*.lnk |
| 255 | + |
| 256 | +# End of https://www.toptal.com/developers/gitignore/api/vim,emacs,visualstudiocode,linux,windows,ruby,rails |
| 257 | + |
0 commit comments