přidán skript, pro aktualzaci repozitářů

This commit is contained in:
archos 2024-06-05 20:01:06 +02:00
parent 0e40bcbf13
commit 959f9012fd

16
update_repos.sh Normal file
View File

@ -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