Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

What does selecting Repository -> "Enable Submodule support" actually do??

We have a repo that contains submodules because it makes organizing folder structure compatible with a 3rd party product we are stuck using. 

What exactly does this option do?? I know submodules point to a specific commit, not to a branch.  But with git there is also the option to add branch = xxxxx to .gitmodules file.  

It seems the option runs:

 git clone --recurse-submodules

is there a standard way to get each branch to the latest branch develop??

I assume: git submodule foreach --recursive 'git checkout develop; git pull'


1 answer

0 votes



We are facing the same issue. 

BTW, we are added git aliases for  the standard command which include submodule commands.


Hope it helps



Gonchik Tsymzhitov

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bamboo

Bamboo Data Center on Kubernetes

Hi, If you are running self-managed environments and looking to adopt modern infrastructure, Bamboo Data Center can now be deployed in a Kubernetes cluster. By leveraging Kubernetes, you can easily...

57 views 0 4
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you