[root]# ls --help | less [root]# ifconfig | head-2 [root]# head-12 /etc/passwd | tail -5
根据冲突报告修改冲突的文件 再次git commit -am "record message"即可 压缩历史 如果遇到拼写错误等问题可以add commit之后将两个历史纪录合并成一条 使用 git rebase -i HEAD