我怎么知道分支机构的最新变化是什么? [英] How can I know what was the latest changes made to a branch?
问题描述
git 1.7.4.4版本
我正在开发团队开发一个新项目。
所以我刚刚克隆了这个项目。该项目有5个分支机构。
我需要知道哪些分支是最近做出的修改。所以我可以开始在那个分支上工作,因为那样会有最新的变化。
我看了一下日志。但是,这并没有告诉我那些提交的分支。
非常感谢任何建议,
- decorate [= short | full | no]
输出显示的任何提交的ref名称。
如果指定short
,则ref名称前缀refs / heads /
,refs / tags /
和refs / remotes /
将不会被打印。
如果指定了完整
,将会打印完整的参考名称(包括前缀)。 >
默认选项是short
。
git version 1.7.4.4
I am working on a new project from my development team.
So I have just cloned the project. The project has 5 branches.
I need to know what branch was the latest changes made to. So I can start working on that branch, as that would have the latest changes.
I have looked at the log. However, but that doesn't tell me that branches those commits where made to.
Many thanks for any suggestions,
A git log --decorate
would add tags and branches to each line.
--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
.
这篇关于我怎么知道分支机构的最新变化是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!