Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • 2
    +1 to not removing the comments if they are necessary to understanding the code. Commented Jan 6, 2014 at 8:10
  • Thank you for your answer. I can see merits to this approach in certain situations too. As I followed-up to sleske's answer, I suppose there's no way to retain private comments without creating a new branch if I use the rebase -i method? Commented Jan 9, 2014 at 4:48
  • 4
    If you need comments to write the code, then clearly I need the comments to be able to maintain the code. Commented Jul 11, 2017 at 8:52