Quantcast
Channel: Why does git submodule update fail with "fatal: remote error: upload-pack: not our ref"? - Stack Overflow
Viewing all articles
Browse latest Browse all 10

Answer by James John McGuire 'Jahmic' for Why does git submodule update fail with "fatal: remote error: upload-pack: not our ref"?

$
0
0

This can happen if you don't fully commit and push your local changes to the submodules.

I got this error while cloning one of our repos with a submodule, while the original local repo was working fine. The problem was because I forgot the push the submodule changes.

So, make sure to commit and push all your submodule changes.


Viewing all articles
Browse latest Browse all 10

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>