git - 如何使用 SourceTree 在我的 git 存储库中查找文件?

标签 git file atlassian-sourcetree history

如何使用 SourceTree 在我的 git 存储库中查找文件?

目前,该文件必须存在于某些分支日志中,但我想在存储库中搜索。

我想:

  • 右键单击文件
  • Log Selected...

  • and peek at it's history.

SourceTree 文件历史非常好。

enter image description here

enter image description here

最佳答案

在工作副本 View 中有一个下 pull 列表,您可以在其中为下面的列中的可见文件选择过滤器。只需选择“所有文件”而不是默认的“待定”。

在右侧还有一个搜索框来过滤这个文件列表。

SourceTree Working Copy View Screenshot

关于git - 如何使用 SourceTree 在我的 git 存储库中查找文件?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27863604/

相关文章:

git - 如何从 SourceTree 中的远程主机创建分支?

xcode - 如何使用源树恢复到之前的提交

c - 从二进制文件中读取随机结构数组元素

c - 在 Netbeans 中运行时观看文件内容

git - SourceTree - rebase - merge 期间的错误

git - 为什么我需要 SSH 授权才能克隆公开可用的 Git 存储库?

c - 将结构数组写入 C 中的二进制文件

git - 多个命令在 git post-receive 中不起作用

git - 如何git-pull除了一个文件夹之外的所有文件夹

git - 在 Git 中获取提交列表以及提交消息和哈希