Hi Surya,

I don't recommend you to change the commit message if you have already sent
the commits to the remote repository. However, if you haven't, you can use
the commands that Lei wrote to change the commit messages.


William Seiti Mizuta
@williammizuta
Caelum | Ensino e Inovação
www.caelum.com.br


On Sun, Mar 24, 2013 at 10:49 AM, lei yang <yanglei.f...@gmail.com> wrote:

>
>
> On Sun, Mar 24, 2013 at 9:22 PM, Surya <kasturisu...@gmail.com> wrote:
>
>> The open source community in which I am contributing has certain
>> standards on writing commit messages I didn't knew earlier.
>>
>> They want me to edit commit message according to standards.. So, how to
>> edit commit messages?
>>
>>
>
> git commit --amend for the top commit to edit the commit
>
> git rebase -i <sha1> to  edit all the commit message from sha1
>
>
> Lei
>
>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Git for human beings" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to git-users+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Git for human beings" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to git-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to