On the PyCharm help page, I see that you can use PyCharm as a command-line comparison tool to compare two files. This is amazing! However, is there a way to do this even further and use it as a git diff tool.
So I can just type pycharm diff file_name.pyand get the git differences just as if you were on PyCharm, set up git integration and click CTRL + Dto see the differences.
source
share