News for hackers. Stuff that matters.
Re:How to teach Git by nemetroid on Wednesday January 16, 2019 @12:12PM (#18922613)
One common scenario is that I'm working on one problem, and in the process of solving that issue do some refactoring of related code. In this case, I want to commit the refactoring (which does not change the program's behaviour) before committing the changes that do change the program's behaviour.
Re:How to teach Git by jononor on Wednesday January 16, 2019 @04:37PM (#18925575)
I typically then send that first refactoring commit to Github (on its own branch) so that it gets full CI test coverage. And then continue working on the fix/feature while it runs.