Ruby Modelo de .gitignore
Ruby installed gems, bundler cache, coverage reports, and documentation. Gerado e mesclado de forma determinística com os padrões oficiais do GitHub para manter seu repositório livre de pastas de pacotes, artefatos de compilação e arquivos de ambiente local.
Gerador interativo de stack
Abrir no gerador completoRuby installed gems, bundler cache, coverage reports, and documentation
### Ruby ###*.gem*.rbc/.config/coverage//InstalledFiles/pkg//spec/reports//spec/examples.txt/test/tmp//test/version_tmp//tmp/ # Used by dotenv library to load environment variables.# .env # Ignore Byebug command history file..byebug_history ## Specific to RubyMotion:.dat*.repl_historybuild/*.bridgesupportbuild-iPhoneOS/build-iPhoneSimulator/ ## Specific to RubyMotion (use of CocoaPods):## We recommend against adding the Pods directory to your .gitignore. However# you should judge for yourself, the pros and cons are mentioned at:# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control## vendor/Pods/ ## Documentation cache and generated files:/.yardoc//_yardoc//doc//rdoc/ ## Environment normalization:/.bundle//vendor/bundle/lib/bundler/man/ # for a library or gem, you might want to ignore these files since the code is# intended to run in multiple environments; otherwise, check them in:# Gemfile.lock# .ruby-version# .ruby-gemset # unless supporting rvm < 1.11.0 or doing something fancy, ignore this:.rvmrc # Used by RuboCop. Remote config files pulled in from inherit_from directive.# .rubocop-https?--* Código bruto de Ruby .gitignore
Modelo oficial original rastreável*.gem*.rbc/.config/coverage//InstalledFiles/pkg//spec/reports//spec/examples.txt/test/tmp//test/version_tmp//tmp/ # Used by dotenv library to load environment variables.# .env # Ignore Byebug command history file..byebug_history ## Specific to RubyMotion:.dat*.repl_historybuild/*.bridgesupportbuild-iPhoneOS/build-iPhoneSimulator/ ## Specific to RubyMotion (use of CocoaPods):## We recommend against adding the Pods directory to your .gitignore. However# you should judge for yourself, the pros and cons are mentioned at:# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control## vendor/Pods/ ## Documentation cache and generated files:/.yardoc//_yardoc//doc//rdoc/ ## Environment normalization:/.bundle//vendor/bundle/lib/bundler/man/ # for a library or gem, you might want to ignore these files since the code is# intended to run in multiple environments; otherwise, check them in:# Gemfile.lock# .ruby-version# .ruby-gemset # unless supporting rvm < 1.11.0 or doing something fancy, ignore this:.rvmrc # Used by RuboCop. Remote config files pulled in from inherit_from directive.# .rubocop-https?--* Detalhamento de padrões essenciais
Dependências e pacotes
Exclui pastas de bibliotecas instaladas e pacotes de terceiros que podem ser restaurados via gerenciadores de pacotes.
Artefatos de compilação e build
Ignora binários compilados, arquivos de objetos intermediários e diretórios de saída gerados durante a compilação.
Cache e arquivos temporários
Ignora caches de compiladores, dados de cobertura de testes e arquivos de rascunho temporários.
Origem e verificação
Coloque este arquivo na raiz do seu projeto com o nome .gitignore. As alterações passam a valer para arquivos novos ou não rastreados.