Thread (2 messages) flat view 2 messages, 2 authors, 2016-06-15

Re: How to ignore a modified file?

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:46:20

Sverre Rabbelier [off-list ref] writes:
Heya,

On Thu, Mar 5, 2009 at 09:53, Quim K Holland [off-list ref] wrote:
quoted
You can run "git checkout directory".
Yes, but that would destroy his changes, I do not get the impression
that that's what he wants...
Actually, I thought the advises from you two were both horrible without
first qualifying the answers nor asking what was really wanted.

Yours didn't *ignore* changes, but staged (and would result in a later
commit) a different change to these paths, namely removal of them.

"I have these changes but I want to ignore" may mean "I didn't mean to
change them and do not care about them." and "checkout" may be the right
thing to use if that is the case.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help