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

Follow

@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

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!