Skip to content

Instantly share code, notes, and snippets.

@dstanek
Created February 8, 2012 20:56
Show Gist options
  • Save dstanek/1773749 to your computer and use it in GitHub Desktop.
Save dstanek/1773749 to your computer and use it in GitHub Desktop.
My git woes
localbox:~% ssh my-linode-account "git init --bare /tmp/myrepo.git"
dstanek@my-linode-account's password:
Initialized empty Git repository in /tmp/myrepo.git/
localbox:Projects/my_awesome_project% git push ssh://my-linode-account/tmp/myrepo.git master
dstanek@my-linode-account's password:
Counting objects: 162, done.
Compressing objects: 100% (161/161), done.
Writing objects: 100% (162/162), 39.62 KiB, done.
Total 162 (delta 78), reused 0 (delta 0)
To ssh://my-linode-account/tmp/myrepo.git
* [new branch] master -> master
localbox:Projects/my_awesome_project% ssh other-server "git init --bare /tmp/myrepo.git"
Initialized empty Git repository in /tmp/myrepo.git/
localbox:Projects/my_awesome_project% git push ssh://other-server/tmp/myrepo.git master
fatal: ''/tmp/myrepo.git'' does not appear to be a git repository
fatal: The remote end hung up unexpectedly
localbox:Projects/my_awesome_project%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment