"Frank Li" <lznuaa@xxxxxxxxx> writes: > 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 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html