3 ms·
I like how it looks. But the terminal already has excellent diff and commit tools.
by sshine 4mo ago
I like how it looks.
But the terminal already has excellent diff and commit tools.
- kyle-ssg 4mo agoFair enough. I always switch to my IDE for a big branch, actually that's why I never switched VSCode, I liked my original IDEs Git UI. But maybe that's just muscle memory using the same IDE from Java to web over the years.
- xtracto 4mo agoI'm curious, what's some user-friendly terminal based tool to say stage only a couple of discontiguous lines from changes in a single file to commit in Git? I think I've tried the git command line "interactive" mode, and is really painful. I find myself going to an IDE, selecting the line and right-clicking + "stage selected ranges" to achieve that.
- albinn 4mo agoLazygit is incredibly capable for everything (including this). I don't touch the git cli anymore.
- mega_dean 4mo agoLazygit for a standalone program, or magit for an emacs package (some people use a different editor and just treat emacs+magit as a dedicated git frontend).
- sshine 3mo ago> terminal based tool to say stage only a couple of discontiguous lines Have you tried `git add -p`? There are cases it doesn’t handle well, like if you want something at the bottom of a file with lots of irrelevant changes. And if you want one line but not the line immediately below, then splitting doesn’t work without starting the interactive editor, which can be confusing.