Michael
Michael

Reputation: 786

IntelliJ showing code changes (Git)

When I make code changes in IntelliJ, the IDE will show me which lines I've added/modified by color-coding next to the line number.

enter image description here

However, when I commit my changes (git commit ...), then the helpful color-coding disappears. Is there any way to still show the line changes even after I commit them?

Upvotes: 0

Views: 342

Answers (1)

Wojciech Piotrowiak
Wojciech Piotrowiak

Reputation: 129

It's not 'color' solution but if you right-click on left (might be a line number) and select annotate then you will see some details about git changes in whole file:

enter image description here If you click on one of them then more info will popup: enter image description here

Upvotes: 1

Related Questions