解決ahead / behind 先reset到ahead,然后退回到分叉,再checkout 遠端的behind git commit -n、如果要刪除本地的commit, 先到本地的最前端, 然后再用下面的命令 If you want to fix up your latest commit, you can undo the commit, and unstage the fi
git 命令commitThe git commit command will save all staged changes, along with a brief description from the user, in a “commit” to the local repository. git commit命令将所有分阶段的更改以及用户的简短描述保存在“提交”到本地存储库中。 Commits are at the h