git status
taking too long
May affect interactivity of custom shell prompts like Starship that check git status.
To reduce prompt latency, turn off scanning of untracked files in big repositories.
git config status.showUntrackedFiles no
git status
during a interactive rebase
“Last commands done” is tail -n 2
of .git/rebase-merge-done
, which is an append-only file during a rebase.
In case of a merge conflict, the last line of the “done” file is the commit applied that caused the conflict.