GitLab als zusätzliche remote hinzufügen
The snippet can be accessed without any authentication.
Authored by
Tim Fechner
Edited
file.md 608 B
So fügen Sie GitLab als zusätzliche remote hinzu
Möchten Sie unseren GitLab Server nur als zusätzliche remote zu Ihrem Projekt hinzufügen nutzen Sie bitte folgenden Befehl:
git remote add gitlab git@lab.it.hs-hannover.de:{GROUP OR USERNAME}/{REPO_NAME}.git
In diesem Fall sind die Variablen {GROUP OR USERNAME}
und {REPO_NAME}
mit
den entsprechenden Werten zu ersetzen. Sollten Sie beispielsweise ein Projekt
namens "foobar" in der Gruppe "barbatz" angelegt haben, würde die remote-url
folgendermaßen aussehen:
git remote add gitlab git@lab.it.hs-hannover.de:barbatz/foobar.git
Please register or sign in to comment