You have to add files to git with:

git add .

This will add all new files. Command

git commit -a -m '....'

with add only already tracked and changed files and commit them with
given message.

On Apr 8, 9:02 am, Pål Bergström <rails-mailing-l...@andreas-s.net>
wrote:
> Do I need to add each new file in git that is created after init?
>
> Or does it happen when I do "git commit -a -v -m 'test'"?
>
> If so, can I just use "git ." and it will take new files and skip old
> ones?
> --
> Posted viahttp://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to