root / bin / git-report.sh @ c01204bf
1 | 1c1c5a42 | Julien Enselme | #!/bin/sh |
---|---|---|---|
2 | |||
3 | . /users/guest/assos/bin/scripts-config.sh |
||
4 | . /users/guest/assos/bin/scripts-utils.sh |
||
5 | |||
6 | if ! check_if_work_tree_clean ; then |
||
7 | mail_unclean_work_tree "[git] WORK TREE UNCLEAN" |
||
8 | fi |
||
9 | |||
10 | git_log=`git log -p --after=yesterday` |
||
11 | if [ -n $git_log ] ; then |
||
12 | echo $git_log | mail -s "[git] Report" |
||
13 | fi |
||
14 | c01204bf | Julien Enselme | |
15 | git pull --rebase |
||
16 | git push |