4 ms·
That's one of the reasons why I've always preferred a GUI for most of my day-to-day operations. It's a lot easier to click "Add Hunk", or CTRL-click a couple l
by acemarke 8y ago
That's one of the reasons why I've always preferred a GUI for most of my day-to-day operations. It's a lot easier to click "Add Hunk", or CTRL-click a couple lines and click "Unstage Lines", then it is to go through the CLI options for dozens of hunks. Similarly, SourceTree's interactive rebase UI is great, and when I briefly played with Tower's latest beta, they made it as simple as drag-and-drop for individual commits.
On the flip side, it's a lot easier to do "git add -u" or "git add src/some/folder" for those use cases.
- crtasm 8y ago'tig' is a TUI for git, once you learn the shortcuts it's easy to stage specific lines/hunks.