In github, you can comment on lines in a commit. Is there a way to comment on a line, while viewing a file in a branch, without having a particular commit?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Unfortunately it is not possible to comment on a line in Github without a commit.
But you can create links to lines in your file (click on line and copy link on browser bar). For example you can use this links in your issues to discuss about code line:
https://github.com/laravel/framework/blob/10.x/README.md?plain=1#L1
Update
You can also hold shift to obtain a link to a block of lines