在Magit中查看文件的历史记录? [英] View a file's history in Magit?

查看:142
本文介绍了在Magit中查看文件的历史记录?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用Git查看文件的更改历史记录版本控制讨论了在Git中查看文件历史记录的其他方式。

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

可以在Emacs Magit中完成吗?

Can it be done in Emacs Magit?

推荐答案

从magit 2.1开始: magit-log-buffer-file

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

在magit 2.1之前:您正在寻找 magit-file-log 。它将在标准magit日志视图中显示当前缓冲区中文件的所有提交。

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.

这篇关于在Magit中查看文件的历史记录?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆