I had a massive git repo because of a huge number of commits, so following advice here I created a shallow clone. I\'ve made changes to this new local repo, and now I want t
If you are working in a shallow clone and the lack of history is causing a problem, you can fetch more history with the --depth option.
--depth
git fetch --depth=20
Where 20 is is the amount of commits to fetch. Increase it if that is not enough.
You can also use the --depth option with git pull.
git pull