git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Can I use git protocol to push change to remote repo?

From
EREmily 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

Next: Jeff King
Message 1 of 5 in “Can I use git protocol to push change to remote repo?”
  1. Emily RenDec 16, 2008
  2. Jeff KingDec 16, 2008
  3. Emily RenDec 16, 2008
  4. Jeff KingDec 16, 2008
  5. Emily RenDec 16, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.