Skip to content

Instantly share code, notes, and snippets.

@nexxos
Last active May 15, 2017 20:38
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nexxos/6210436 to your computer and use it in GitHub Desktop.
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)
# Haupt-FTP Passwort ist gleichzeitig SSH Passwort
# per SSH anmelden:
ssh username@mydomain.com
mkdir repo
cd repo
git init --bare my_repo.git
# Repo auf dem lokalen Rechner klonen:
git clone ssh://username@mydomain.com/~/repo/my_repo.git
# 1&1 kann auch als remote Repository (externe Sicherung) genutzt werden:
git remote add origin ssh://username@mydomain.com/~/repo/my_repo.git
@FullStackAlex
Copy link

FullStackAlex commented May 15, 2017

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 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment