threads / discuss / 27769

changing first commit message

Subject: changing first commit message

## tl;dr

2 messages between Jul 7, 2011 and Jul 7, 2011.

replies: 1people: 2as markdown or json

Shantanu Pavgi· Jul 7, 2011, 15:56 UTC · lore
How do I reword the first commit message? I was able to reword commit messages after the first commit using 'git rebase -i <first-commit-id>', but I am not sure how to reword the first commit message itself. Any help? 

Thanks, Shantanu.

Andreas Schwab· Jul 7, 2011, 16:08 UTC · re: Shantanu Pavgi · lore

Re: changing first commit message

Shantanu Pavgi <pavgi@uab.edu> writes:
> How do I reword the first commit message? I was able to reword commit
> messages after the first commit using 'git rebase -i <first-commit-id>',
> but I am not sure how to reword the first commit message itself. Any help?
$ git rebase -h
[...]
    --root                rebase all reachable commits up to the root(s)
[...]
Andreas.
-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

← back to recent threads