partially add file, using similar as vim.
rewrite git history.
resolve all mistakes locally and force push it to remote.
git push origin HEAD:<branch name> -f
# or alias push="git status | awk '/On/ { print $3; }' | xargs git push origin"
alias push="git branch | awk '/\*/ { print \$2; }' | xargs git push origin"
alias log="git log -n 10 --pretty=oneline"
alias commit="func() { git commit -m\"\$1\"; }; func"
alias status="git status"