diff options
Diffstat (limited to 'gitgo.sh')
-rwxr-xr-x | gitgo.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gitgo.sh b/gitgo.sh new file mode 100755 index 000000000000..b267de1644e9 --- /dev/null +++ b/gitgo.sh @@ -0,0 +1,9 @@ +#! /bin/bash +if [ -z "$1" ]; + then echo "Please supply a commit message wrapped in single quotes '' before you proceed!"; + else + makepkg --printsrcinfo > .SRCINFO + git add . + git commit -am "$1" + git push; +fi |