git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* splitting a commit that adds new files
@ 2014-02-01 10:48 Duy Nguyen
  2014-02-02 18:15 ` Junio C Hamano
  2014-02-04  2:20 ` [PATCH 1/2] t7101, t7014: rename test files to indicate what that file is for Nguyễn Thái Ngọc Duy
  0 siblings, 2 replies; 17+ messages in thread
From: Duy Nguyen @ 2014-02-01 10:48 UTC (permalink / raw)
  To: Git Mailing List

I usually start splitting a commit with "reset @^" then "add -p" back.
The problem is "reset @^" does not keep track of new files added in
HEAD, so I often end up forgetting to add new files back (with "add
-p"). I'm thinking of making "reset" to do "add -N" automatically for
me so I won't miss changes in "add -p". But maybe people already know
how to deal with this case without adding more code?
-- 
Duy

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

end of thread, other threads:[~2014-02-06  1:58 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-01 10:48 splitting a commit that adds new files Duy Nguyen
2014-02-02 18:15 ` Junio C Hamano
2014-02-02 23:11   ` Jeff King
2014-02-03 18:11     ` Junio C Hamano
2014-02-04  0:54       ` Duy Nguyen
2014-02-04  2:20 ` [PATCH 1/2] t7101, t7014: rename test files to indicate what that file is for Nguyễn Thái Ngọc Duy
2014-02-04  2:20   ` [PATCH 2/2] reset: support "--mixed --intent-to-add" mode Nguyễn Thái Ngọc Duy
2014-02-04 19:09     ` Junio C Hamano
2014-02-04 22:25       ` Junio C Hamano
2014-02-05  0:27         ` Duy Nguyen
2014-02-05 17:16           ` Junio C Hamano
2014-02-05 18:25             ` Junio C Hamano
2014-02-05 23:48               ` Duy Nguyen
2014-02-06  0:08                 ` Junio C Hamano
2014-02-06  0:43                   ` Junio C Hamano
2014-02-04 16:05   ` [PATCH 1/2] t7101, t7014: rename test files to indicate what that file is for Jonathan Nieder
2014-02-06  1:58     ` Duy Nguyen

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).