News for hackers. Stuff that matters.
Re:A Requiem for a Dying Operating System (1994) by phorkyas82 on Friday September 04, 2020 @04:31PM (#24378612)
I'm generally also one of the git sceptics - Though I loved staging for a while as for the fine grained control. `git add --all` just might not do the right thing - for paranoids like me. Just recently got to know you can skip the staging by appending the paths of the changed files you want to commit after `git commit -m "awesome commit"` - neat.
Re:A Requiem for a Dying Operating System (1994) by kazinator on Saturday September 05, 2020 @01:26AM (#24381577)
You can skip the explicit staging using

  git commit --patch
then interactively select the specific changes by diff hunk.

It combines with --amend.