git问题

如果出现下面问题

fatal: '/web/www/baidu' does not appear to be a git repository
fatal: The remote end hung up unexpectedly

可以这样修改

先删掉.git,然后

  1. $ git init
  2. $ git add .
  3. $ git remote add origin git@gitorious.org:project/project.git
  4. $ git commit -m "Initial version"
  5. $ git push origin master
posted @ 2013-02-20 16:12  网恋被骗5元  阅读(195)  评论(0编辑  收藏  举报