From 313fc4f591e59219382bc8a302b7b07e8dbaf918 Mon Sep 17 00:00:00 2001 From: vlapa Date: Sat, 13 Jun 2026 18:00:20 +0300 Subject: First --- sync | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 sync (limited to 'sync') diff --git a/sync b/sync new file mode 100644 index 0000000..decafce --- /dev/null +++ b/sync @@ -0,0 +1,20 @@ +#!/bin/bash + +echo "============================" +stat=`git status | grep "modified"` +if [ -n "$stat" ] +then +echo "GIT synhronization:" +read -p "Input COMMIT: " text +echo "============================" +#git add . +git commit -a -m "$text" +echo "============================" +git push +echo "============================" +git log --oneline -5 +echo "============================" +else +echo "Изменений нет !" +echo "============================" +fi -- cgit v1.2.3