
エントリーの編集

エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
記事へのコメント1件
- 注目コメント
- 新着コメント
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています

- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
gitのsubmoduleを簡単に削除するコマンド - Qiita
# !/bin/bash if [ -z "$1" ]; then echo "Error: Specify a path to the submodule directory" 1>&2 ex... # !/bin/bash if [ -z "$1" ]; then echo "Error: Specify a path to the submodule directory" 1>&2 exit 1 fi if [ ! "$(pwd)" = "$(git rev-parse --show-toplevel)" ]; then echo 'Error: Run again after: cd "$(git rev-parse --show-toplevel)"' 1>&2 exit 1 fi git config --remove-section submodule."$1" || exit 1 git config --file .gitmodules --remove-section submodule."$1" || exit 1 git rm --cached "$1" || e
2013/11/26 リンク