How does receive-pack and pre-receive hook works ? I have added following in pre-recieve hook; all works fine. git rev-list --pretty d6d147f432869037a7ac8bdca3a2d5bc0cdc1e9f ^a3fe19833480023b72350d6e56e939cbd0ba2c8b I Would like know where does Git saves whatever I am pushing before exit 0 of this hook; Specifically how does it understand about 'd6d147f432869037a7ac8bdca3a2d5bc0cdc1e9f' which is not part of destination depot / repo. Thx/ Mahesh. -- 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