Skip to content

Git: 查看指定代码块的历史记录 | 共建代码世界,践行开源精神 #15

Description

@CodeWater404

https://blog.codewater.top/Git-view-the-history-of-the-specified-code-block/#more

背景某次找bug的时候,发现代码被改过了,所以想要看这块代码修改的历史记录。目前IDE右键是支持文件的历史记录的,但是不支持代码块级别查看。当然有一些可能会有,例如cursor,但是使用起来就比较麻烦,而且也不是我先想要的效果。痛点在于:cursor的行级别查看是可以,但是无法显示出所选行的所有历史记录,必须要选中某个commit,但实际上你如果出现我上面想要查看代码的情况,你是不知道错误的修改在

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions