News for hackers. Stuff that matters.
Re:Lazygit: A simple terminal UI for Git commands by recursive on Tuesday November 30, 2021 @10:52PM (#29400467)
I cannot imagine using git and having a reason to commit only half a file. I've known it was possible for several years. But never once has it been a solution to any problem I've had. I suppose we both have limited imaginations.
Re:Lazygit: A simple terminal UI for Git commands by yjftsjthsd-h on Wednesday December 01, 2021 @06:19AM (#29402711)
I know this is covering a mistake, but I've occasionally done one thing, then done a separate thing without committing (especially easy to do with things like one-line version bumps or super trivial bug fixes), then used git commit -p to commit+push the first change while still working on the second change locally. Obviously this only comes up because I suck at task management, but it is a real-life time when the feature is helpful.
Re:Lazygit: A simple terminal UI for Git commands by BoorishBears on Wednesday December 01, 2021 @01:20AM (#29401229)
It might be because of the UX around it if you're in the terminal? When it's easy to do you you're more likely to advantage of it.