git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* how to omit rename file when commit
@ 2009-01-19  9:13 Frank Li
  2009-01-19  9:16 ` Junio C Hamano
  0 siblings, 1 reply; 5+ messages in thread
From: Frank Li @ 2009-01-19  9:13 UTC (permalink / raw)
  To: git

For example there are a file a.c at git repository.
use
git mv a.c b.c

git status:
# On branch master
# Changes to be committed:
#   (use "git reset HEAD <file>..." to unstage)
#
#       renamed:    a.c -> b.c

If we don't want to stage this change at this commit,  what can I do?

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-01-19 17:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-19  9:13 how to omit rename file when commit Frank Li
2009-01-19  9:16 ` Junio C Hamano
2009-01-19  9:35   ` Frank Li
2009-01-19 11:01     ` Jakub Narebski
2009-01-19 17:41     ` Boyd Stephen Smith Jr.

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).