List all commits (across all branches) for a given file

后端 未结 3 1085
独厮守ぢ
独厮守ぢ 2020-12-23 00:08

This question is closely related to List all commits for a specific file however it is different. I want to find out which commits, across all branches, had

3条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-23 01:03

    You can use gitk

    gitk --all (you need to install gitk)

    e.g.

    gitk --all -- /home/kit.ho/project/abc.txt

提交回复
热议问题