git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: Konstantin Khomoutov <flatworm@users.sourceforge.net>
To: Gulshan Singh <gsingh2011@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: Why can't I push from a shallow clone?
Date: Fri, 26 Jul 2013 13:38:52 +0400	[thread overview]
Message-ID: <20130726133852.f1f9a1cc9c9207e5bbb74013@domain007.com> (raw)
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:

> 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

      parent reply	other threads:[~2013-07-26  9:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-26  2:33 Why can't I push from a shallow clone? Gulshan Singh
2013-07-26  6:55 ` Fredrik Gustafsson
2013-07-26 19:12   ` Gulshan Singh
2013-07-26 21:48     ` Philip Oakley
2013-07-26  9:38 ` Konstantin Khomoutov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: http://vger.kernel.org/majordomo-info.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130726133852.f1f9a1cc9c9207e5bbb74013@domain007.com \
    --to=flatworm@users.sourceforge.net \
    --cc=git@vger.kernel.org \
    --cc=gsingh2011@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).