如何使用 SourceTree 在我的 git 存储库中找到文件?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/27863604/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How can I find a file in my git repository with SourceTree?
提问by Dimitri Dewaele
How can I find a file in my git repository with SourceTree?
如何使用 SourceTree 在我的 git 存储库中找到文件?
Currently, the file has to be present in some branch log, but I want to search on the repository.
目前,该文件必须存在于某个分支日志中,但我想在存储库中进行搜索。
I want to:
我想要:
- right-click the file
Log Selected...
and peek at it's history.
- 右键单击该文件
选择日志...
看看它的历史。
The SourceTree file history is quite good.
SourceTree 文件历史记录非常好。
回答by juffel
In the working copy view there is a dropdown where you can select a filter for the visible files in the column below. Just select "All Files" instead of the "Pending" default.
在工作副本视图中有一个下拉列表,您可以在其中为下面列中的可见文件选择过滤器。只需选择“所有文件”而不是“待处理”默认值。
On the right side there also is a Searchbox to filter this file list.
在右侧还有一个搜索框来过滤这个文件列表。