Use specific git branch when displaying changed elements
Answered
I'm using Intellij with python (would be able to use Pycharm as well) and git. I find it's really useful to have a different color for files that I change, have indicators on the side for lines that I changed, etc.
I can't figure out whether you can, instead of using HEAD as your branch for displaying changed things, use a different branch/revision/commit. Once I commit, all the information about changes is gone from the interface (I know that I can compare a file to any specific branch, but that's only to see a diff of a file --not to, for instance, see file names with a different color when I changed them). While I might care about what I changed since the last commit, it's more often the case that I'd like to compare with respect to the origin branch that I'm branching from.
Do you know whether that's possible, or have you used it? Thanks!
Please sign in to leave a comment.
No, you can't. See https://youtrack.jetbrains.com/issue/IDEA-24398
You can try to use plugins, e.g. https://plugins.jetbrains.com/plugin/10083-git-scope