git版本1.7.4.4
我的开发团队正在开发一个新项目。
所以我刚刚克隆了该项目。该项目有5个分支机构。
我需要知道最新更改的是哪个分支。这样我就可以开始在该分支上工作,因为那里会有最新的更改。
我看过日志了。但是,但这并没有告诉我将这些提交分支到何处。
非常感谢您的建议,
最佳答案
git log --decorate
会向每一行添加标签和分支。
--decorate[=short|full|no]
Print out the ref names of any commits that are shown.
Ifshort
is specified, the ref name prefixesrefs/heads/
,refs/tags/
andrefs/remotes/
will not be printed.
Iffull
is specified, the full ref name (including prefix) will be printed.
The default option isshort
.
关于git - 我如何知道分支的最新更改是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5659273/