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

That is not correct and also not supported by your link. A git commit does not contain any changes. It is always a full sapshot of the repo state.

To have any kind of concept of "change", you need two gït commits. Just like a simple text file.



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

Search: