我创建了一个远程裸存储库:
cd ~ mkdir -p git/foto-fiori.git cd git/foto-fiori.git git init --bare
然后我添加了它:
git remote add origin collimarco@foto-fiori.com:/home/collimarco/git/foto-fiori.git
我明白了:
$ git push fatal: '/home/collimarco/git/foto-fiori.git': unable to chdir or not a git archive fatal: The remote end hung up unexpectedly
我也试过用〜/ git/foto-fiori.git,但是一样......
我很绝望:我该怎么做?