TIL git add -i to individually select hunks from a file to stage for commit.


@djmoch also `git add -p` to interactively select hunks across the changed files.

@djmoch I use that like 90% of the time honestly, mostly because I’ll do WAY too much work before actually committing anything 🙃

Sign in to participate in the conversation
Mastodon for Tech Folks

This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either!