Intellij Annotate Option Grayed Out

后端 未结 11 1345
谎友^
谎友^ 2021-02-05 00:48

I am trying to look at who changed a line in Intellij 15. I know I can use git blame but I want to learn how to do it correctly in intellij. I am right clicking on the line numb

11条回答
  •  無奈伤痛
    2021-02-05 00:55

    If you check File > Settings > Version Control and see that your current project is listed under "Unregistered Roots", go to (on the menubar) VCS > Enable Version Control Integration. It will ask you to select the VCS tool you use, then click ok and you'll have all the integrations working (including the annotate feature which uses git blame).

提交回复
热议问题