3

I have:

  • Repo A - a templated set of files which represent a good starting point for new repos
  • Repo B - an "instantiated" version of Repo A which I have built and now want to commit to as it's own repo

I am very new to the "shallow clone" process but had read that using it was a good way to achieve the results above (article). Now, however, I'm at the stage where it's time to make a commit to Repo B and when I try I get the error:

[remote rejected] master -> master (shallow update not allowed)

It does let me commit locally but I'm at a complete loss how to push that back to github. :(

ken
  • 8,763
  • 11
  • 72
  • 133
  • 1
    What version of Git are you using? – VonC Apr 05 '15 at 23:27
  • i have 1.9.5 (apple Git 50.3) on my system but I run my non CLI git with SourceTree from Atlassian which embeds a 2.2.1 version of git. – ken Apr 06 '15 at 07:17
  • Ok, I was checking if it was >= 1.9, because of http://stackoverflow.com/a/21217267/6309. – VonC Apr 06 '15 at 08:18

0 Answers0