"Avery Pennarun" <apenwarr@xxxxxxxxx> writes: > How about making "git checkout" default to HEAD if no revision is > supplied? There's precedent for this in, say, git-diff (and I think a > few others). Won't fly. 'git checkout -- "$@"' is to revert to the last staged version. * You say "git checkout branch" when you want to "check out that branch"; * You say "git checkout -- file" when you want to "check out the file from the index"; * You say "git checkout v1.5 -- file" when you want to "check out the file out of that revision". It's not that hard. -- 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