summarylogtreecommitdiffstats
path: root/gitgo.sh
blob: b267de1644e99a077fbb4ceaeccf1006f7833b32 (plain)
1
2
3
4
5
6
7
8
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