前端 - 为何使用git diff master origin/master 不显示差异信息?
问题描述:
我在这个时间点git clone 了一个开源项目:
Feb 3 14:40:00 2023 +0800
然后我知道在后续,此项目一直有commit更新在github,
但是为何我在本地diff自己的master和origin/master,没有任何的差异信息呢:
markleo@mba G6 % git diff master origin/master markleo@mba G6 %
第 1 个答案:
你需要去跟踪一下git fetch,可以参考一下这篇文章https://www.codenong.com/1800783/
<el-dropdown-item :disabled="pauseDisable(scope.row.orderChangeFlag)" @clic ...