I created a hello world app with rails HelloWorld
command. I ended up with many directories:
Should all this be under sources control? What would be a good default .hgignore
file for a Ruby on Rails app folder?
The working directory of a Mercurial repository will often contain files that should not be tracked by Mercurial. These include backup files created by editors and build products created by compilers. These files can be ignored by listing them in a . hgignore file in the root of the working directory.
hgignore file sits in the working directory, next to the . hg folder. It is a file versioned as any other versioned file in the working directory, which is used to hold the content of the ignore patterns that are used for any command operating on the working directory.
.bundle
db/*.sqlite3
log/*.log
tmp/*
.DS_Store
.orig
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With