View a file's history in Magit?

前端 未结 5 1364
孤城傲影
孤城傲影 2021-01-30 01:18

View the change history of a file using Git versioning talks about other ways of viewing history of a file in Git.

Can it be done in Emacs Magit?

5条回答
  •  佛祖请我去吃肉
    2021-01-30 02:11

    Since magit 2.1: magit-log-buffer-file (as per comment below)

    Before magit 2.1: magit-file-log is what you are looking for. It will show you all commits for the file in the current buffer in the standard magit log view.

提交回复
热议问题