如果出现下面问题
fatal: '/web/www/baidu' does not appear to be a git repository
fatal: The remote end hung up unexpectedly
可以这样修改
先删掉.git,然后
$ git init
$ git add .
$ git remote add origin git@gitorious.org:project/project.git
$ git commit -m "Initial version"
$ git push origin master