mirror of
https://github.com/Snigdha-OS/snigdhaos-system-installation.git
synced 2025-09-21 13:54:56 +02:00
@eshanized: push via push.sh!!!
This commit is contained in:
28
push.sh
Executable file
28
push.sh
Executable file
@@ -0,0 +1,28 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# A simple script to maintain github repository
|
||||||
|
|
||||||
|
# Author : Eshan Roy <eshan@snigdhaos.org>
|
||||||
|
# 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"
|
Reference in New Issue
Block a user