I\'m using remote git repository. I successfully commit my files and now I\'m trying to push it up to stream.
Operation fails with this messasge:
git
In my case, the remote repo was a shallow clone. I was pushing a merge commit which apparently was using commits dated before the earliest commit the shallow repo had.
To fix this you need to unshallow the remote: git fetch --unshallow
git fetch --unshallow