How do I filter log by folder in SourceTree?

前端 未结 4 1199
隐瞒了意图╮
隐瞒了意图╮ 2021-02-07 00:47

In SourceTree, how do I limit the log to only show commits that affected files within a given folder?

I.e. the equivalent to: git log path/to/folder

4条回答
  •  一生所求
    2021-02-07 01:25

    Click on the File Status segmented control in the top left corner.

    Screenshot 1

    Above the Files staged in the index area set the filters to Tree View and Show All. All of your files will appear in the Files in the working tree area.

    Screenshot 2

    Select one or more files and/or folders, right click and select Log Selected....

    Screenshot 3

提交回复
热议问题