Re: how to omit rename file when commit
- From
Jakub Narebski <jnareb@gmail.com>
- Date
- Jan 19, 2009, 11:01 UTC
- Message-ID
- <m3vdsby2y4.fsf@localhost.localdomain>
- In-Reply-To
- <1976ea660901190135k71087673p85e995878e539a8f@mail.gmail.com>
"Frank Li" <lznuaa@gmail.com> writes:
Show 8 quoted lines
> For example: > there are 2 file. a.c and e.c > I modify e.c. > and git mv a.c b.c > > git update-index e.c > > I just want to commit e.c and don't commit rename(a.c -> b.c)
The simplest way (but I'm not sure if it is what you want) would be
$ git commit e.c
-- Jakub Narebski Poland ShadeHawk on #git