When I use
git commit --amend
It will enter into a vi window to let me input comments for commit, the problem is the vi windows will show
To force a screen refresh
:redraw!