输入命令可以正常跳转:git reset –hard head

再进行merge如何push即可:
He-NingQiu@LAPTOP-HTU50PHP MINGW64 /f/MyItem_git/OurTeam_git/Match (hnq) $ git merge hnq Already up to date. He-NingQiu@LAPTOP-HTU50PHP MINGW64 /f/MyItem_git/OurTeam_git/Match (hnq) $ git push origin hnq Counting objects: 9, done. Delta compression using up to 4 threads. Compressing objects: 100% (9/9), done. Writing objects: 100% (9/9), 20.37 KiB | 4.07 MiB/s, done. Total 9 (delta 6), reused 0 (delta 0) remote: Powered by Gitee.com To https://gitee.com/serchief/Match.git * [new branch] hnq -> hnq
发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/221156.html原文链接:https://javaforall.net
