git - 我如何知道分支的最新更改是什么?

标签 git

git版本1.7.4.4

我的开发团队正在开发一个新项目。

所以我刚刚克隆了该项目。该项目有5个分支机构。

我需要知道最新更改的是哪个分支。这样我就可以开始在该分支上工作,因为那里会有最新的更改。

我看过日志了。但是,但这并没有告诉我将这些提交分支到何处。

非常感谢您的建议,

最佳答案

git log --decorate 会向每一行添加标签和分支。

--decorate[=short|full|no]

Print out the ref names of any commits that are shown.
If short is specified, the ref name prefixes refs/heads/, refs/tags/ and refs/remotes/ will not be printed.
If full is specified, the full ref name (including prefix) will be printed.
The default option is short.

关于git - 我如何知道分支的最新更改是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5659273/

相关文章:

git - 如何分支并包含未决 pull 请求中的更改

git - 删除从特定分支 merge 的所有提交

android - 如何管理两个应用程序代码的 repos,唯一的区别是 Git 的广告

git - 如何调试 git svn fetch 无效的 XML

git - 使用 git pull 包括子模块

linux - “git: command not found” 运行时 “pm2 deploy production setup”

git merge 冲突 : which commit was the common ancestor?

git:散列自动完成

git - 使 `git status` 忽略空格更改

GIT - 如何在不进行更改的情况下切换分支,反之亦然