From 5958fa673ed912e4fac0bbb5542251a92db8f8dd Mon Sep 17 00:00:00 2001 From: Yannick Date: Sat, 17 Jun 2023 16:52:54 +0200 Subject: [PATCH] Big fix with port in git remote --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 49e2b61..b915f03 100644 --- a/main.py +++ b/main.py @@ -41,7 +41,7 @@ commands = [ "touch README.txt", "git add .", 'git commit -am "INIT"', - f"git remote add origin ssh://{username}@{hostname}/share/Public/git/{project_name}.git" + f"git remote add origin ssh://{username}@{hostname}:{port}/share/Public/git/{project_name}.git" ] # SSH-Verbindung herstellen und Befehle ausführen