From 1ff834e2b06761b083df9959d6c3d6bd2a94d2de Mon Sep 17 00:00:00 2001 From: Shubham Saini Date: Tue, 1 Dec 2020 20:21:04 +0000 Subject: mah thinkpad --- bin/.bin/gitit | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 bin/.bin/gitit (limited to 'bin/.bin/gitit') diff --git a/bin/.bin/gitit b/bin/.bin/gitit new file mode 100755 index 0000000..5d576c2 --- /dev/null +++ b/bin/.bin/gitit @@ -0,0 +1,10 @@ +#!/bin/sh +set -e +printf "\033[0;32mDeploying updates to server...\033[0m\n" +git add . +msg="changes" +if [ -n "$*" ]; then + msg="$*" +fi +git commit -m "$msg" +git push origin master -- cgit v1.2.3