News for hackers. Stuff that matters.
Re:How to teach Git by LyndsySimon on Thursday January 17, 2019 @03:32PM (#18934338)
`git add -p` is also very, very useful. I use it all the time, to the point that I've aliased it to `a`.

If you're interested, here's my .gitconfig, including all of my aliases: https://gitlab.com/lyndsysimon/dotfiles/blob/master/git/gitc...

Re:How to teach Git by war1025 on Thursday January 17, 2019 @04:17PM (#18934723)
Completely agree. I think a lot of people would enjoy git more if they made better use of the `-p` options.
Re:How to teach Git by tome on Friday January 18, 2019 @09:19AM (#18939420)
Do you know about `git commit -p`? You might like it even more than `git add -p`.