How to solve git error: Server does not allow request for unadvertised object 3a2ceef391af73994dfeb0d8ef57ed6a52ef4238?

git submodule sync as pointed in https://github.com/AppImage/AppImageKit/issues/511 works for me.


According to this answer and the given source it looks like BitBucket does not allow you to fetch a commit id, only references.

I cannot say if you can configure this behavior, but I think you can:

  1. Pull the branch: git pull origin branchname
  2. Checkout the local commit id: git checkout <commitid>

I got the same error and none of these resolved it. It turned out that I hadn't pushed submodule changes from my other computer (this would give 404 error when you click on submodule folder on GitHub). So pushing submodule, committing parent and pushing that as well resolved the error.

Other solutions are git submodule update --recursive and this.

Tags:

Git

Bitbucket