Re: git rm --cached

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Remi Vanicat
Date: Friday, November 2, 2007 - 9:13 am

Jing Xue <jingxue@digizenstudio.com> writes:


Observed behavior are exactly what I expected: 'git rm --cached' mark
the file in the index as been deleted without deleting it in the
working directories, it did not but the index it was before the 
'git add 1.txt'.

You probably want to use git reset HEAD -- 1.txt to unstage
modification on 1.txt

-- 
Rémi Vanicat

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: git rm --cached, Remi Vanicat, (Fri Nov 2, 9:13 am)
Re: git rm --cached, Jing Xue, (Fri Nov 2, 2:41 pm)
Re: git rm --cached, Matthieu Moy, (Sun Nov 4, 10:04 am)