function gitall() {
git add . -A
if [ -n "$1" ]; then
git commit -m "$1"
else
git commit -m "update"
fi
git push
}
alias gacp="gitall"
Created
January 22, 2019 02:53
-
-
Save xiocode/d39cea643203d4c31ee09ba5bb6ea045 to your computer and use it in GitHub Desktop.