aboutsummaryrefslogblamecommitdiffstats
path: root/railties/lib/rails/generators/rails/app/templates/gitignore.tt
blob: 860baa1595b93156f25e54d8bfeee5991edc1d45 (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 -%>

<% unless skip_active_storage? -%>
# Ignore uploaded files in development.
/storage/*
<% if keeps? -%>
!/storage/.keep
<% end -%>
<% end -%>
<% unless options.api? -%>

/public/assets
<% end -%>
.byebug_history