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 <kt-usenet@xxxxxxxxxxxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html