Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

[Feature Request] Disable automatic submodule init when switching branches

David Veit
April 20, 2026

Unfortunately I was not able to find a way to tell Sourcetree it shall not init submodules when switching branches automatically. This is quite bad for large repositories with many submodules I that are not mandatory.

 

I would like to the checkout command to not automatically init submodules or at least have an option to disable this behavior.

1 answer

0 votes
Tomislav Tobijas
Community Champion
April 20, 2026

Hey @David Veit ,

Within the app, there are a couple of options when it comes to submodules.

2026-04-20_10-16-31.png

I think there are also repo-specific settings, like this:

If you only want to change this for a specific repository:

  1. Open the repository in Sourcetree.

  2. Click on Settings (top right) > Advanced.

  3. Ensure that any submodule-specific automation is disabled for that local configuration.

Now, I could test it properly in a couple of days when I'm back home.

Cheers,
Tobi

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events