přidán skript, pro aktualzaci repozitářů
This commit is contained in:
parent
0e40bcbf13
commit
959f9012fd
16
update_repos.sh
Normal file
16
update_repos.sh
Normal 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
|
Loading…
Reference in New Issue
Block a user