I tried to merge some changes to master and got the following error:
“! [remote rejected] HEAD -> master (shallow update not allowed)”
I have a very simple CI pipeline setup (just pushes the code to production) and it’s been working fine for months up to this error.
I did some searching and some of the errors reference branching using “depth” - to my knowledge we haven’t branched that way.
Here are the docs I found:
https://gist.github.com/gobinathm/96e27a588bb447154604963e09c38ddc#:~:text=Some%20Time%20there%20is%20a,add%20your%20old%20remote%20again.&text=git%20fetch%20--unshallow%20origin,into%20your%20new%20remote%20repository.
I tried creating a separate branch, pushed, and merged that and got the same error as well.
Please let me know if you might have some advice before I dig myself into a deeper hole.