Hi all, i enabled post-merge hook with following shell script #/usr/bin/env bash echo "======> following are changes made to local repo <======"
git fetch && git log ..origin/master --pretty=format:"%s - %ar by %an (%h)" echo "=======> ****************** <========" i have given needed permission also chmod +x post-merge when i do git pull origin master it prints me echo "======> following are changes made to local repo <======" echo "=======> ****************** <========" But when i run the same git fetch && git log ..origin/master --pretty=format:"%s - %ar by %an (%h)" command it will return me exact result what i expect. Does any one suggest me where i an going wrong.? -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
