Home > Mobile >  Comment a code on pycharm without pushing to git
Comment a code on pycharm without pushing to git

Time:01-13

I would like to post my own comments and understandings into a code, where I don't want these comments to be pushed to the repo.

I'm not sure if this is possible, currently, I'm creating a local notebook to explain some things in the codebase and add additional context.

So is it possible to just add notes instead of comments or comments where it's not pushed to the codebase somehow?

CodePudding user response:

I found a solution when after further investigation and trying different solutions.

In PyCharm, the following useful free extension adds notes to your code where it's visible as comments but doesn't interfere with your commits, and it is saved to a local folder where you can sync with a separate git repo.

https://gitee.com/The-Blind/private-notes/raw/master/doc/show.gif

  • Related