aboutsummaryrefslogblamecommitdiffstats
path: root/railties/lib/rails/generators/rails/app/templates/gitignore
blob: 64ed09dc4b91c6561e9b5bddf14be9ae5cf416f3 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                                                    


                                                                             
                                                               
 
                        

        
                  
                                     
             
                     
 
          
                                    
      
      
                
           
           
          
 


                                      
                                 

               

          



                           
               
# 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

<% if sqlite3? -%>
# Ignore the default SQLite database.
/db/*.sqlite3
/db/*.sqlite3-journal

<% end -%>
# Ignore all logfiles and tempfiles.
/log/*
/tmp/*
<% if keeps? -%>
!/log/.keep
!/tmp/.keep
<% end -%>

# Ignore uploaded files in development
/storage/*

<% unless options[:skip_yarn] -%>
/node_modules
/yarn-error.log

<% end -%>

<% unless options[:api] -%>
/public/assets
<% end -%>
.byebug_history