1

I'm a new user of Bitbucket and also new with Git. In my project repository I use modules which are in separate folders. But some of this folders are not clickable, they only show the name with an arrow + number.
Who can explain me what this means?

I understood that this is submodules, but when I use git clone to another folder in my computer its not downloaded. what am I doing wrong?

1

1 Answer 1

1

It means the submodule references a SHA1 of another repo. That is the SHA1 you see after the arrow.
This is a special entry in the index, called gitlink.

You can see those in the question "Bitbucket submodules wont delete".

example

When you clone a repo with submodule, you need to add:

git submodule update --init

Then you would see the content of the submodule, as a detached HEAD.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.