We can create a submodule in subdirectory deeper than one level, for example Application/Driver/. But I can not delete this submodule after that, Delete action for submodule is disable in menu on right button click mouse. If submodule is created in a directory on the same level as .git file all will be Ok, I mean the deletion is enable.
SourceTree version 220.127.116.11
to overcome that trouble I created a scrypt, it works good for me.
git config -f .gitmodules --remove-section submodule.$SUBMODPATH
git add .gitmodules
git config -f .git/config --remove-section submodule.$SUBMODPATH
git rm --cached $SUBMODPATH
rm -rf .git/modules/$SUBMOD
git commit -m $SUBMOD
rm -rf $SUBMODPATH
Supported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot