Commit something (before pushing), and regret it? % git reset --soft "HEAD~1"
% git reset --soft "HEAD~1"