# changing first commit message

2 messages from 2011-07-07 to 2011-07-07. Participants: Shantanu Pavgi, Andreas Schwab.
Thread: https://gitlist.dev/t/27769

## Shantanu Pavgi, 2011-07-07 15:56

Subject: changing first commit message
Message-ID: <C1602FFC-8FBE-4E55-94F7-96DF745C0345@uab.edu>
URL: https://gitlist.dev/e/C1602FFC-8FBE-4E55-94F7-96DF745C0345%40uab.edu

```

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, 2011-07-07 16:08

Subject: Re: changing first commit message
Message-ID: <m2pqlm2hw2.fsf@igel.home>
URL: https://gitlist.dev/e/m2pqlm2hw2.fsf%40igel.home
In-Reply-To: <C1602FFC-8FBE-4E55-94F7-96DF745C0345@uab.edu>

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

```
