概述

有时候需要确定,当前分支是否是从master切出来的,可以使用git reflog命令

git reflog

然后查看输出结果的第一行

image.png

最后修改:2024 年 12 月 20 日
如果觉得我的文章对你有用,请随意赞赏