Can I use git protocol to push change to remote repo?
- From
- Emily Ren <lingyan.ren@gmail.com>
- Date
- Dec 16, 2008, 07:22 UTC
- Message-ID
- <856bfe0e0812152322i3a7fa376h8a35466b7abf82a5@mail.gmail.com>
- In-Reply-To
- <856bfe0e0812152318h1375401fx944834ad6410835d@mail.gmail.com>
Hello,
I can clone a remote repo with git protocol, but I can't push my branch to origin repo with git protocol. If I use ssh protocol, I can push sccuessfully. I'm confused, can someone give me a guide on this? Can I use git protocol to push my branch to remote repo? If yes, how can I do ? Thank you for your help in advance !
Error info is as below: $ git push git://host.xz/testgit check_push fatal: The remote end hung up unexpectedly error: failed to push to 'git://host.xz/testgit'
Successful info with ssh protocol: $ git push ssh://host.xz/testgit check_push user's password: updating 'refs/heads/check_push' from 0000000000000000000000000000000000000000 to 60719ede9ef5d5fdc042e7aebcebc04a93d3928a Generating pack... Done counting 3 objects. Deltifying 3 objects... 100% (3/3) done Writing 3 objects... 100% (3/3) done Total 3 (delta 0), reused 0 (delta 0)
Thanks, Emily