by newusertoday·2y ago·view on hn ↗in magit you can also select lines you want to commit. It's there in the article as well