git 实用命令(持续更新)git放弃本地commit,强制使用远程commit<pre<codegitfetchallgitresethardorigin/master</code</pregit放弃本地暂存文件<pre<codegitresetHEA