Hacker News new | ask | show | jobs
by moritzwarhier 108 days ago
Personally, I'm not a Git magician, but I prefer the Git CLI for most operations.

Only exception is resolving conflicts.

The most important point for every gut IDE integration to me is that it cleanly maps to the file system and CLI state.

1 comments

Staging single lines or hunks is also much easier in a TUI/GUI. I wouldn't even know how to do it with just git.
git add -p
Operates on hunks, which may at times be multiple lines that cannot be split further
oftentimes splitting the hunks with `s` is enough.
You can edit a hunk with `e`. Clunky but it works.
In a conversation about magit, this is comparing jumping off a sidewalk to powered flight.