git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Is it possible to roll back unstaged changes while leaving the staged ones for the next commit?
@ 2008-12-17 19:57 Tim Visher
  2008-12-17 20:30 ` Junio C Hamano
  0 siblings, 1 reply; 7+ messages in thread
From: Tim Visher @ 2008-12-17 19:57 UTC (permalink / raw)
  To: git

Hello Everyone,

I'm attempting to use `git add -i` to help me resolve the differences
between two files in a way that makes sense (leaving class names, some
logic, but changing other things like white space, etc.).  I have all
of the changes that I want to be committed staged now in the index.
My question is this: is it possible to revert the changes that I
haven't staged so that the file looks as if everything inside of it
has been staged because none of the stuff I didn't stage is there
anymore.

Thanks in advance!

-- 

In Christ,

Timmy V.

http://burningones.com/
http://five.sentenc.es/ - Spend less time on e-mail

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

end of thread, other threads:[~2008-12-18 12:31 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-17 19:57 Is it possible to roll back unstaged changes while leaving the staged ones for the next commit? Tim Visher
2008-12-17 20:30 ` Junio C Hamano
2008-12-17 22:48   ` Tim Visher
2008-12-17 22:59     ` Junio C Hamano
2008-12-18  1:22       ` Tim Visher
2008-12-18  3:34       ` Nanako Shiraishi
2008-12-18 12:24         ` Tim Visher

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