Michael Libby wrote:
e your changes to the file and exit the
> editor.
> 
> Two probable default editors are nano and vi:
> Nano exits with ctrl-x (and Y to question about saving changes).
> vi saves and exits with :wq
> 
> If you don't need long commit messages you can avoid the editor entirely 
> with:
> git commit -m "your message here"


Then it's vi I have.

I learned to do:

git commit -a -v -m "message"

I understand -a and -m but not 100% on what -v does. I think it has to 
do what it saves. With -v it only saves changed content. But not sure.

Anyway, it works great. So much easier than svn, that I never got into.
-- 
Posted via http://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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to