简体   繁体   English

如何在tfs中获取/查看多个git仓库的日志历史记录

[英]How to get / view the log history of multiple git repositories in tfs

Im using tfs and I need to view the log history of all the git repositories that are present. 我正在使用tfs,我需要查看所有存在的git存储库的日志历史记录。 What is the best approach ? 最好的方法是什么?

You can use git log for tracking multiple repositories, the git log output is very configurable so its really easy to get a clearer picture with the useful options included. 您可以使用git log来跟踪多个存储库,git日志的输出非常可配置,因此使用有用的选项非常容易获得清晰的图像。

Install git bash > Navigate to the local repository > Right click .git or Project folder > Git Bash Here > Run git log command 安装git bash >导航到本地存储库>右键单击.gitProject文件夹 >这里Git Bash>运行git log命令

Example: 例:

git log --oneline --decorate --graph --all 

You can also run gitk --all to see the details. 您也可以运行gitk --all查看详细信息。

For details please see: Git Log Makes Multiple Repos Easier to Track 有关详细信息,请参见: Git日志使多个存储库更易于跟踪

在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM