From da0b3f2473c9fd10b2a3f9f403bf24187a7d5a7c Mon Sep 17 00:00:00 2001 From: "Eshan Roy (Eshanized)" Date: Mon, 4 Mar 2024 12:31:47 +0530 Subject: [PATCH] @eshanized: push via script --- push.sh | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100755 push.sh diff --git a/push.sh b/push.sh new file mode 100755 index 0000000..126c473 --- /dev/null +++ b/push.sh @@ -0,0 +1,27 @@ +#!/bin/bash + +# Author : Eshan Roy +# Author URI : https://eshanized.github.io/ + +# NOTE: REPO = Your Repository Name On the Host +# NOTE: ORG = Your ORGANIZATION NAME or USERNAME +# NOTE: HOST = GitHub, Gitlab, Bitbucket etc. + +# Repo Config +REPO=snigdhaos-neofetch +# Host Config +HOST=https://github.com +# Destination Config +ORG=Snigdha-OS + +# Set the repository URL and branch +REPO_URL="${HOST}/${ORG}/${REPO}.git" +BRANCH="master" # or "main" depending on your repository's default branch + +# Commit message +MESSAGE="@eshanized: push via script" + +# Add all files, commit, and push changes +git add . +git commit -m "$MESSAGE" +git push origin $BRANCH \ No newline at end of file