From df4cc50335541a4e5f9635663c10dc29e2bcb556 Mon Sep 17 00:00:00 2001 From: Omkar Prabhu Date: Wed, 4 Oct 2017 21:08:39 +0530 Subject: [PATCH] Bash script to add and commit files in git --- gitc.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 gitc.sh diff --git a/gitc.sh b/gitc.sh new file mode 100755 index 0000000..5526c30 --- /dev/null +++ b/gitc.sh @@ -0,0 +1,7 @@ +#!/bin/sh + +# To adding and commiting files in git + +git add . +read -p 'Commit Message: ' comMsg +git commit -m "$comMsg"