Re: How to ignore a modified file?

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

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.

Re: How to ignore a modified file?

From: Sverre Rabbelier <hidden>
Date: 2016-06-15 22:46:20

Heya,

On Thu, Mar 5, 2009 at 11:21, Junio C Hamano [off-list ref] wrote:
Yours didn't *ignore* changes, but staged (and would result in a later
commit) a different change to these paths, namely removal of them.
You are of course right, thank you for pointing it out.

-- 
Cheers,

Sverre Rabbelier
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help