3 ms·
I use the Pycharm/Jetbrains Git GUI. At this point I can't imagine effectively handling merge conflicts any other way. EDIT: Also, I really like being able to
by dec0dedab0de 5y ago
I use the Pycharm/Jetbrains Git GUI. At this point I can't imagine effectively handling merge conflicts any other way.
EDIT:
Also, I really like being able to look at a diff of every file before I commit, and easily choosing which files to include in a commit. Too often I see people on the CLI accidentally committing changes they didn't mean to, because there is no easy way to check everything at the last minute.
- tcoff91 5y agoeven if you use the git CLI you can still set up a mergetool so that when you are resolving merge conflicts you can use something like BeyondCompare or P4Merge to handle the merge conflicts.
- Hamuko 5y agoAnd every Xcode installation on macOS comes with FileMerge.app.
- mixmastamyk 5y agoMeld
- fiddlerwoaroof 5y agoThere’s a really easy way to check the diff before committing on the command-line: git commit -v Displays a diff at the bottom of the editor that pops up to write a commit message.
- cerved 5y agoyou can also set git config commit.verbose true to always have this behavior
- Ashanmaril 5y agoThe Jetbrains IDE git GUI is by far the best git GUI I've used, I feel lost trying to use git without it. There's a user request that's been sitting around for a while to pull it out into a dedicated application, which I could personally get behind since we have one project at work that's pretty difficult to run outside of Eclipse https://youtrack.jetbrains.com/issue/IDEA-152437 https://youtrack.jetbrains.com/issue/IDEA-152437
- stevenhuang 5y agoWhat's wrong with 'git diff'? Then there's 'git add -i' to easily choose which files to add
- dividedbyzero 5y ago> What's wrong with 'git diff'? Not GP, but I find it extremely hard to parse visually even after having had to do it a lot. Something like git-delta makes it bearable, but a decent syntax-highlighted, color-coded, side-by-side diff view with proper keyboard navigation (next diff, next file) is a huge quality of life boost for me. > Then there's 'git add -i' to easily choose which files to add Didn't know that, just tried it, and, wow, that's easily the most unintuitive and inscrutable TUI since vi. I haven't been able to make it show a simple diff; someone else also tried, failed as well.
- tailspin2019 5y agoYes Jetbrains have totally nailed this. I have tended to prefer the command line for git but the exceptionally designed GUI support in Rider is fast changing that - especially for rebasing.
- cerved 5y agoit's very easy from the CLI. Much easier than from GUIs actually git diff git diff --staged git restore --staged --partial git commit you can also add commit hooks to reject changes like conflict markers