Getting The Most Out Of Git — Smashing Magazine
▻https://www.smashingmagazine.com/2021/02/getting-the-most-out-of-git
Staging Selected Parts of Your Changed Files
Luckily, Git allows us to precisely select the chunks we want to put into the next commit! All we have to do is add the -p flag to our git add command:
git add -p imprint.html
Une astuce pour #git que je ne connaissais pas, nice :)