3
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

submodule の submodule を submodule として追加する

Posted at
git submodule foreach "git config -f .gitmodules --get-regexp ^submodule\\.modules/.*\\.url$ || :" | grep ^submodule | sed 's/^\S\+\s//' | sort | uniq | sed 's/\(\([^\\/]\+\)\?\)$/\1 modules\/\2/; s/\.git$//; s/^/git submodule add /' | sh

収束するまでくりかえそう!

modules/* の modules/* を modules/* として追加します。こういう機能ないかと聞いたけどなかったので書いてみた。

3
2
6

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?