Collin Berke @collinberke.bsky.social · 18/01/2026TIL: `git add --patch` or `git add -p`. Very useful. Learning about it helped level up my #git game. More here: www.youtube.com/watch?v=blbz...youtube.comThe BEST git command you've never heard of | GIT ADD PATCHYouTube video by typecraft 110
Collin Berke @collinberke.bsky.social · 18/01/2026This answer on SO has a good description of the available options: stackoverflow.com/a/1085191stackoverflow.comCommit only part of a file's changes in GitWhen I make changes to a file in Git, how can I commit only some of the changes? For example, how could I commit only 15 lines out of 30 lines that have been changed in a file? 010