From: Kenneth P. Turvey Date: Mon, 28 Apr 2008 18:58:51 GMT Subject: Re: Simple problem Message-ID: In-Reply-To: <20080428164945.GA14445@atjola.homenet> On Mon, 28 Apr 2008 18:49:45 +0200, Björn Steinbrink wrote: [Snip] > That restores the version from the index, so it will fail if you did > "git rm file". To get the file from HEAD use "git checkout HEAD -- > file". Thanks. I tested this and it works as advertised. I took a look at the man page and I understand what the -- is for too. I had actually tried: git checkout myfile.java and this didn't work. -- Kenneth P. Turvey