Jump to content
  • 0

Can not checkout repository when using git clone


Max Wang

Question

I want to compile mangoszero code, When I execute below command, it show me message: unable to checkout .....

Is there anyone know how to fix it?

My is is Ubuntu 16.04 LTS.

git clone https://github.com/mangoszero/server.git --recursive --depth 1

Unable to checkout '69a7b14d723f0145df9eb2cb2fcf40b50b48a3ff' in submodule path 'src/modules/Eluna'

Unable to checkout 'd1f1854d3f96ec0fcb7141ea22731c432eaf0d63' in submodule path 'src/modules/SD3'

 

 

Edited by 王 凌峰
Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

i got another error information here:

---------------------------------------------------------------------------------

fatal: reference is not a tree: 69a7b14d723f0145df9eb2cb2fcf40b50b48a3ff

fatal: reference is not a tree: d1f1854d3f96ec0fcb7141ea22731c432eaf0d63

Unable to checkout '69a7b14d723f0145df9eb2cb2fcf40b50b48a3ff' in submodule path 'src/modules/Eluna'

Unable to checkout 'd1f1854d3f96ec0fcb7141ea22731c432eaf0d63' in submodule path 'src/modules/SD3'

 

Link to comment
Share on other sites

  • 0
11 hours ago, antz said:

Hi,

Try removing the --depth=1 and try that

git clone https://github.com/mangoszero/server.git --recursive

Regards
Antz

Thank you, but after removing "--depth=1", issue still there.

 

error messages: 

fatal: reference is not a tree: 69a7b14d723f0145df9eb2cb2fcf40b50b48a3ff

fatal: reference is not a tree: d1f1854d3f96ec0fcb7141ea22731c432eaf0d63

Unable to checkout '69a7b14d723f0145df9eb2cb2fcf40b50b48a3ff' in submodule path 'src/modules/Eluna'

Unable to checkout 'd1f1854d3f96ec0fcb7141ea22731c432eaf0d63' in submodule path 'src/modules/SD3'

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use