Junio C Hamano <gitster@xxxxxxxxx> writes: > But how would you explain "git reset --hard HEAD~24 paths"? > Does it move HEAD or not (rhetorical: it shouldn't)? It doesn't, just like git checkout HEAD~24 paths does not move HEAD. Simple rule: commands limited to a file subset don't move HEAD. Really, I don't see the inconsistency that you seem to find in here. -- David Kastrup - 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