Michael J Gruber <git@xxxxxxxxxxxxxxxxxxxx> writes: > I'm not sure what you mean by "origin" version, but if you mean the > version from the current revision (before making and staging changes), > you would check out from HEAD instead of from the index: > > git --work-tree=. --git-dir="/media/linux/t/kernel/.git" checkout HEAD > -- README Wouldn't that still affect the index in /media/linux/t/kernel/.git/index, making /media/linux/t/kernel/README and the index entry out-of-sync? -- 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