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
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.Read more
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
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs