On Thu, Jul 25, 2013 at 07:33:16PM -0700, Gulshan Singh 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. I can't explain it better than what Junio did in the link you just provide. However there's ongoing work to allow shallow clones to be able to push. You can read about it here: http://thread.gmane.org/gmane.comp.version-control.git/230612/focus=230878 -- Med vänliga hälsningar Fredrik Gustafsson tel: 0733-608274 e-post: iveqy@xxxxxxxxx -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html