git command2025/07/03 05:00

追跡していないファイルの表示

git clean -n

追跡していないファイルの削除

git clean -f

reflog の削除

git reflog expire -all --expire=now

到達不能リビジョンの削除

git prune

  • dry-run も出来る。

git rebase --onto の動作解説

https://gist.github.com/hkuno9000/398fc4000655e7b6617fd76733b5fa94