From 519af7bf252a1fe0ef2f5c5418f3ae25a685dd37 Mon Sep 17 00:00:00 2001 From: Haletran Date: Mon, 2 Mar 2026 18:00:24 +0100 Subject: [PATCH] feat: push to gitea script --- core/tools/push-git.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/core/tools/push-git.sh b/core/tools/push-git.sh index db79e76..e32b629 100644 --- a/core/tools/push-git.sh +++ b/core/tools/push-git.sh @@ -1,11 +1,11 @@ #!/usr/bin/env bash -cd ../ -cp -r * core/ -cd core -git init +cp -r core repo +cd repo +git init -b main git add . -git commit -m " Update files to the repo" +git commit -m "Update files to the repo" git remote add origin https://vogsphere.chatons.duckdns.org/marvin/core.git -git push -u origin main \ No newline at end of file +git push -u origin main --force +rm -rf ../repo \ No newline at end of file