git is awesome. There are tutorials scattered around the web 
and a good introductory screencast at peepcode.com. 
Fortunately, you only need to know a little about it to get 
started on Heroku.

To tell git to ignore files, in your app's root directory, 
create a new file called .gitignore and inside this file put 
the names of files and directories for git to ignore. Here's 
the content my file:

.DS_Store
*.log
tmp/**/*
config/database.yml
db/schema.rb
db/development.sqlite3

Strange that cloning your app didn't pull down the 
database.yml file. Here's the content of my database.yml, 
unmodified, from Heroku:

development:
   adapter: sqlite3
   database: db/development.sqlite3

test:
   adapter: sqlite3
   database: db/test.sqlite3

Hope this helps,
Kevin

kweiner wrote:
> Actually, I had created my app on Heroku and then used 'heroku clone
> myapp' to clone it to my local machine.  The database.yml file was
> missing.  I am new to git.  How did you tell git to ignore your
> database.yml file?
> > 

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to