Big fix with port in git remote

This commit is contained in:
Yannick 2023-06-17 16:52:54 +02:00
parent 6e78099872
commit 5958fa673e

View File

@ -41,7 +41,7 @@ commands = [
"touch README.txt", "touch README.txt",
"git add .", "git add .",
'git commit -am "INIT"', '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 # SSH-Verbindung herstellen und Befehle ausführen