From a364def642990692124371a19f73fc2bf4d00d04 Mon Sep 17 00:00:00 2001 From: L3D Date: Sun, 22 Dec 2019 11:59:04 +0100 Subject: [PATCH] git push --- Makefile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Makefile b/Makefile index 6f99626..a4f7f23 100644 --- a/Makefile +++ b/Makefile @@ -47,3 +47,17 @@ pull: git remote add gitea gitea@gitea.see-base.de:C3WOC/c3woc-webseite.git git pull gitea master fi + +push: + if git config remote.gitea.url > /dev/null; then + git push gitea master + else + git remote add gitea gitea@gitea.see-base.de:C3WOC/c3woc-webseite.git + git push gitea master + fi + if git config remote.github.url > /dev/null; then + git push github master + else + git remote add github git@github.com:c3woc/c3woc-website.git + git push github master + fi