On Thu, Jan 15, 2009 at 4:42 PM, Pål Bergström
<[email protected]> wrote:

> Then it's vi I have.

You can change that with:

git config --global core.editor [your_favorite_editor]

or by setting GIT_EDITOR environment variable

unless you like vi, that is.

>
> 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.

-v adds a bunch of text to the commit message, specifically a diff of
all the exact changes made by this commit.


Regards,
Michael


-- 
Michael C. Libby
www.mikelibby.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