Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Small question, git noob here. The comments that we see on github (outside of the commit messages), are these comments stored on github, or is it something git related.

Logically I would think the comments are just an extra layer added by github, but theoritically git could have comments also decentralized and stored, this is why I'm asking.



Yeah, the comments are an extra layer added by GitHub, and not stored in the repo itself.

You're right that it would be possible to also decentralize the comments, but that's not how GitHub does it, they just store those on their own, and there's no part of Git that is explicitly built for storing code review comments, you would need to add something on top using the "note" system or something similar.



Do see the "limitations" section:

github-backup is repository-focused. It does not try to back up other information from GitHub. In particular, social network stuff, like users who are following you, is not backed up.

github-backup does not log into GitHub, so it cannot backup private repositories.

Notes added to commits and lines of code don't get backed up yet. There is only recently API support for this.

The labels that can be added to issues and milestones are not backed up. Neither are the hooks. They could be, but don't seem important enough for the extra work involved. Yell if you need them.


So, it backs up most of everything, just a couple of the deeply commented stuff doesn't work. All issues for example get backed up. It feels more like it back "most" things up and leaves out only a couple of things.


Comments and tickets on github are github only.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: