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

During Commit, the submodule changes window is not working.

I am new to GIT so maybe I'm doing it wrong, but I seem to be having problems with submodules in SourceTree. I have setup a Stash server, and am using SourceTree as my UI on top of git. I have three repositories in Stash, consisting of two apps and one for a shared common set of libraries. I have added the common libraries repo as a submodule of the two app repos. When I make a change, such as adding a file to the submodule in one of the apps, SourceTree fails to function during the Commit. It sucessfully detects that there are changes in the submodule that should be comitted, but when I click the "open..." button in the submodules dialog, the new window shows nothing, in fact most of the dropdowns and labels are missing and the cancel button doesn't work (see screenshots). Am I doing something wrong here?

SourceTree Submodule Check.png

SourceTree Submodule Commit.png

git status output:

C:\Projects\FTAP\avails>git status
warning: refname 'HEAD' is ambiguous.
warning: refname 'HEAD' is ambiguous.
On branch master
Your branch is up-to-date with 'origin/master'.
Changes to be committed:
  (use "git reset HEAD <file>..." to unstage)
        modified:   Another_test.txt
Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git checkout -- <file>..." to discard changes in working directory)
  (commit or discard the untracked or modified content in submodules)
        modified:   common (modified content)

1 answer

Seems that this is a known issue...

One commenter provided a workaround that effectively translates into "Cancel out of submodule check and commit submodules directly"

Suggest an answer

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

Sourcetree for Windows - CVE-2019-11582 - Remote Code Execution vulnerability

A vulnerability has been published today in regards to Sourcetree for Windows.  The goal of this article is to give you a summary of information we have gathered from Atlassian Community as a st...

2,809 views 0 10
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