Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to add comments in a code available on GitHub?

I am trying to understand a Python code available on GitHub. The project is kind of large, when I understand the code available in one file and try to understand the code in another file, I forget some of the previous concepts (that I have understood in the previous files).

Is there any way I could add comments or a little description of each line while understanding the code in GitHub project? I know I can download the code and add comments using some IDE or Notepad etc. But it would be difficult for me while training, as I have to clone the project for training.

like image 939
Nephophile Avatar asked Apr 24 '26 05:04

Nephophile


1 Answers

I suggest you fork the code, and add comments to the code itself, on your copy of the repository. You can edit the files inside GitHub, no need to download the code.

like image 54
SudE Avatar answered Apr 25 '26 20:04

SudE



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!