Created
September 28, 2015 23:44
-
-
Save ttm/ed4cbc4f76311c7f0bf3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a=`git log -1 HEAD --pretty=format:%s` | |
foo=`git remote show origin | grep Fetch` | |
b=(`echo $foo | tr ',' '\n'`) | |
aa \#gitcommit ::: $a \#repo ::: ${b[2]} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
eh meu hook para vincular o commit a um shout de aa.
Fumega se eu rodar depois do commit, mas dá erro
quando commito:
.git/hooks/post-commit: 5: .git/hooks/post-commit: Syntax error: "(" unexpected