From 959f9012fde56af9ebef8fa3858d98e0342ad067 Mon Sep 17 00:00:00 2001 From: archos Date: Wed, 5 Jun 2024 20:01:06 +0200 Subject: [PATCH] =?UTF-8?q?p=C5=99id=C3=A1n=20skript,=20pro=20aktualzaci?= =?UTF-8?q?=20repozit=C3=A1=C5=99=C5=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- update_repos.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 update_repos.sh diff --git a/update_repos.sh b/update_repos.sh new file mode 100644 index 0000000..863635c --- /dev/null +++ b/update_repos.sh @@ -0,0 +1,16 @@ +#!/bin/bash + +# Fetch latest changes from upstream +git fetch upstream + +# Switch to main branch +git checkout main + +# Merge upstream changes into main +git merge upstream/main + +# Push changes to GitHub +git push origin main + +# Push changes to Gitea +git push gitea main