git 備忘録
任意のコミットで変更されたファイルの一覧を出力する
通常のコミット: git diff-tree --no-commit-id --name-only -r <tree-ish>
マージコミット: git log -m -1 --name-only --pretty="format:" <commit-id>
mainブランチにマージ済みのブランチを削除する
git branch --merged main | grep -v '^\*' | xargs -n 1 git branch -d