From 39b75d455f720194de24763d3c04690d2fb7b716 Mon Sep 17 00:00:00 2001 From: "Eshan Roy (Eshanized)" Date: Mon, 4 Mar 2024 22:34:27 +0530 Subject: [PATCH] @eshanized: push via push.sh!!! --- push.sh | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100755 push.sh diff --git a/push.sh b/push.sh new file mode 100755 index 0000000..65ff767 --- /dev/null +++ b/push.sh @@ -0,0 +1,28 @@ +#!/bin/bash + +# A simple script to maintain github repository + +# Author : Eshan Roy +# Author URL : https://eshanized.github.io/ + +# REPOSITORY Config +REPO=snigdhaos-system-installation + +# HOST Config +HOST=https://github.com + +# DESTINATION Config +ORG=Snigdha-OS + + +# SETUP REPO URL +REPO_URL="${HOST}/${ORG}/${REPO}.git" +BRANCH="master" #or "main" + +# Commit Message: +MESSAGE="@eshanized: push via push.sh!!!" + +# Git Action +git add . +git commit -m "$MESSAGE" +git push origin "$BRANCH" \ No newline at end of file