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

Re: git not resuming push

From
Jeff King <peff@peff.net>
Date
Nov 23, 2011, 05:02 UTC
Message-ID
<20111123050220.GA9127@sigill.intra.peff.net>
In-Reply-To
<4ECC6F80.6010907@piem.org>
On Tue, Nov 22, 2011 at 08:58:56PM -0700, Paul Brossier wrote:
> If the connection fails after uploading part of the data, it seems I
> need to start over from zero again. Is there a way to resume the upload
> instead?
No, there isn't a way to resume just using push.

If you have shell access on the server, one workaround you can do is to create a bundle with the commits in question, upload it via some resumable protocol (like sftp, http, rsync, etc), possibly taking many attempts, and then fetch the result on the server side from the bundle into the repository.

See "git help bundle" for some examples.
-Peff
Previous: Paul BrossierNext: Junio C Hamano
Message 2 of 5 in “git not resuming push”
  1. Paul BrossierNov 23, 2011
  2. Jeff KingNov 23, 2011
  3. Junio C HamanoNov 23, 2011
  4. Paul BrossierNov 23, 2011
  5. Jeff KingNov 23, 2011

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.