Git分支完全不同步

时间:2019-03-19 19:28:35

标签: git

我的git环境混在一起了!

我刚刚将提交推送到我的“ python”分支。在我的win 10机器上,我将文件推送到git。

我的win 10机器将其显示为最新提交:636b9de73fb1d79acaa4bb531f258103ece0ac4d

Bitbucket GUI(我公司的git服务器)将其显示为python分支的最新提交:c1eaa115b71

如果我在VMWare播放器中托管的Linux VM上执行git pull origin python,则将其显示为最新的提交:

 git log | head -10
commit 04dd8ca22fea0405db5dca8da43310223b72abce
Author: Tim  <tdunphY@company.com>
Date:   Fri Mar 15 07:00:06 2019 -0700

    Updated the source files for list instances.

commit 5d8738d75090a99c7c489cb8eb6b59fd57df7f56
Merge: 2c3970f 0b5a5bc
Author: Timothy P <tdunphy@company.com>
Date:   Thu Mar 14 09:33:52 2019 -0400

如果我尝试检查什么应该是Linux VM上的最新提交,则会收到错误消息:

git checkout 636b9de73fb1d79acaa4bb531f258103ece0ac4d
fatal: reference is not a tree: 636b9de73fb1d79acaa4bb531f258103ece0ac4d

我在Windows上使用git版本2.19.1.windows.1。

我在Linux上的git 2.17.1版本上。

到底发生了什么?以及我该如何纠正?

0 个答案:

没有答案
相关问题