Last active
May 15, 2017 20:38
-
-
Save nexxos/6210436 to your computer and use it in GitHub Desktop.
Git beim Provider 1&1 nutzen. Erforderlich ist ein entsprechendes Paket, das git und ssh bietet. (Vorläufige Fassung)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Haupt-FTP Passwort ist gleichzeitig SSH Passwort | |
# per SSH anmelden: | |
ssh [email protected] | |
mkdir repo | |
cd repo | |
git init --bare my_repo.git | |
# Repo auf dem lokalen Rechner klonen: | |
git clone ssh://[email protected]/~/repo/my_repo.git | |
# 1&1 kann auch als remote Repository (externe Sicherung) genutzt werden: | |
git remote add origin ssh://[email protected]/~/repo/my_repo.git |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Super! Danke! Habe jetzt zwei Stunden lang vergeblich versucht die Ursache für diese Fehlermeldung raus zu bekommen:
"origin does not appear to be a git repository"
Weiß zwar immer noch nicht genau wo das Problem lag, aber deine Vorgehensweise, hat den Fehler jetzt nun behoben :)