sourcetree 2.3.1
macでsourcetreeからサブモジュールの追加するときの手順
2、リポジトリURLを記入して、ローカルのディレクトリも指定
[warning: templates not found]ココらへんを調べて見ると
sourcetreeのバグだとか・・・
http://shiro-izu.hateblo.jp/entry/2016/10/28/182252
sourcetreeからは追加できないみたいなんですがコマンドで追加できるとのこと
git submodule add ssh://[gitbucket]/user_name/repository.git dir_name
追加するとサブモジュールとして追加したリポジトリもsourcetreeで認識されました。よかった。
削除コマンド
git submodule deinit path/to/submodule
git rm path/to/submodule
git config -f .gitmodules --remove-section submodule.path/to/submodule