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

Re: Why can't I push from a shallow clone?

From
KKKonstantin Khomoutov <flatworm@users.sourceforge.net>
Date
Jul 26, 2013, 09:38 UTC
Message-ID
<20130726133852.f1f9a1cc9c9207e5bbb74013@domain007.com>
In-Reply-To
<CANEZYrdsCgH+3NnZnnmsn_znt=+01aNn02u4mWyb3td9XypUog@mail.gmail.com>

On Thu, 25 Jul 2013 19:33:16 -0700 Gulshan Singh <gsingh2011@gmail.com> wrote:

Show 8 quoted lines
> I've been trying to figure out why I can't push from a shallow clone
> (using --depth) to a repository. I've made simple examples where it
> works, but I've read that in doesn't work in every case. However, I
> can't come up with a case where it doesn't work. Googling gives this
> answer:
> http://stackoverflow.com/questions/6900103/why-cant-i-push-from-a-shallow-clone,
> but I don't completely understand the explanation, so I was hoping
> someone could explain it.
See also this thread [1] which originated from this SO question [2].
1. http://thread.gmane.org/gmane.comp.version-control.git/221634
2. http://stackoverflow.com/q/16077691/720999
Previous: Philip Oakley
Message 5 of 5 in “Why can't I push from a shallow clone?”
  1. Gulshan SinghJul 26, 2013
  2. Fredrik GustafssonJul 26, 2013
  3. Gulshan SinghJul 26, 2013
  4. Philip OakleyJul 26, 2013
  5. Konstantin KhomoutovJul 26, 2013

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.