38
submitted 1 year ago* (last edited 1 year ago) by lysy@szmer.info to c/programming@beehaw.org

I ask because I like console, but at the same time have difficulties remembering all the commands. I'd like to try a GUI that is comfortable to use with only a keyboard.
[edit]
My inbox got fediversized, fantastic feeling.

top 50 comments
sorted by: hot top controversial new old
[-] Kernel@beehaw.org 11 points 1 year ago

It's a paid app only available for Windows and Mac at the moment, but Fork may be worth a look: https://git-fork.com

[-] BentiGorlich@thebrainbin.org 3 points 1 year ago

I am using it too and I love it. I only know source tree as a competitor and in comparision it sucks....

You dont have to pay for it, even when using it comercially (unpess they changed that)

[-] Modal@lemmy.sdf.org 3 points 1 year ago* (last edited 1 year ago)

It has a "free evaluation" that I think can be as long as you want it to be / honor system.
Its been worth it to me to pick up a license and support the development though. Its reasonably priced (for a dev tool) / no subscription and definitely beats the free clients I was using before (Sourcetree/GithubDesktop).

load more comments (1 replies)
[-] exu@feditown.com 8 points 1 year ago

Magit with emacs (doom emacs to be fully honest). More a TUI, but definitely fully keyboard driven :)

[-] ShadyGrove@beehaw.org 3 points 1 year ago

Yeah this is THE best interface for git. Worth getting into Emacs just to use it id say.

[-] django@discuss.tchncs.de 3 points 1 year ago

Magit on Spacemacs for me. Absolutely brilliant tool. https://magit.vc/

[-] dolle@feddit.dk 2 points 1 year ago

Same here. I don't even use emacs for development anymore (I use IntelliJ since all my work is on the JVM and Typescript) but I still have an emacs running in the background for magit and org-mode. Magit is insanely effective for performing complex rebasing and cherry-picking tasks.

[-] antevirus@kbin.social 7 points 1 year ago
[-] HarkMahlberg@kbin.social 5 points 1 year ago

It doesn't get enough love.

[-] ezekiel@kbin.social 6 points 1 year ago

Sublime Merge has been wonderful to work with

[-] yanni@beehaw.org 2 points 1 year ago

I also love how fast Sublime Merge is. The built in merge tool is great too. I'm a sucker for apps with a command palette for easy access to every command.

[-] Parsnip8904@beehaw.org 2 points 1 year ago

It is one of the few tools that doesn't misrepresent the core git paradigm.

load more comments (1 replies)
[-] domi@lemmy.secnd.me 6 points 1 year ago

GittyUp! https://murmele.github.io/Gittyup

I previously used GitKraken but was looking for an open source alternative that works in a similar fashion and has a Flatpak.

load more comments (2 replies)
[-] corytheboyd@kbin.social 5 points 1 year ago* (last edited 1 year ago)

These days I can run everything I need to with the git cli. I use the JetBrains visual merge tool to resolve conflicts, because doing that by hand is so awfully error prone, it very very intuitively maps to a visual process

[-] themikeyj@beehaw.org 5 points 1 year ago

when I absolutely need to... git-gui.

Live by the console, die by the console.

(I should change things up and try to make my life easier -- vim for life) 🙃

[-] fidodo@beehaw.org 5 points 1 year ago

No, I find typing faster than clicking and I've been using git for so long the commands are second nature to me.

load more comments (1 replies)
[-] sznio@beehaw.org 4 points 1 year ago

I use the VS Code built-in git support for making commits, and fall back to the CLI for anything else.

You won't have trouble remembering commands once you use them often enough. And you don't need to know all of them, just the ones your workflow uses. My toolbox is commit, checkout, status, reset, rebase -i, merge, bisect. That's all I need day-to-day.

[-] CosmicBlend@kbin.social 4 points 1 year ago

I used to use SourceTree but it runs horribly and switched to Fork years ago and never looked back. I use VSCode for merge conflict resolution.

load more comments (2 replies)
[-] boo@lemmy.one 4 points 1 year ago

Apart from the cli, gitk and git-gui are plenty good in my opinion, they could always be made better. And they are mostly always there with git Only thing I am miasing now is blame.

[-] Relisui@kbin.social 4 points 1 year ago

Gitkraken is the powerhouse, but i only use it for difficult commands

load more comments (4 replies)
[-] vredez@discuss.tchncs.de 4 points 1 year ago

I've tried a lot and settled with vim-fugitive. If you know and like Vim-keybindings it's probably the best choice out there.

load more comments (2 replies)
[-] argv_minus_one@beehaw.org 4 points 1 year ago

The number of Git front ends with proprietary licenses is too damn high.

[-] danknodes@kbin.social 4 points 1 year ago

VS 2022 is finally somewhat usable for Git using the git Changes pane. The whole team uses it this way, and for many of them it's a first for git as well.

[-] Orvanis@lemm.ee 4 points 1 year ago

TortoiseGit user here. Love that it integrates with Windows Explorer so I don't have to constantly be opening an app first to fire off some Git commands.

[-] djoot@feddit.dk 4 points 1 year ago

Lazygit changed how I use git, it is so easy to do all the daily essentials like branching, committing, and merging, but also also does more advanced things like interactive rebasing when needed.

I had searched for a proper git client, that was free and open source plus worked on both Linux and Windows, for a long time and I haven't looked back after finding lazygit.

[-] priapus@lemmy.one 4 points 1 year ago

I use Lazygit, which is a TUI. It is entirely controlled by keyboard shortcuts and has a lot of quick ways to do tedious things.

load more comments (2 replies)
[-] sunaurus@lemm.ee 4 points 1 year ago

I use a 50%-50% mix between git CLI and the built-in git tools in JetBrains IDEs.

To be honest, I could quite easily get by with just the JetBrains GUI - they have a super sophisticated GUI that can easily handle things like interactive rebase, cherry-picking, etc + they have a great conflict resolution tool. I just use the cli every now and then if I want to get something done quickly while I don't have an IDE window open.

[-] ursakhiin@beehaw.org 2 points 1 year ago

This one. It's sophisticated and easy to navigate.

I generally do conflict resolution in Jetbrains IDEs and everything else in CLI. Occasionally, I might commit from the IDE if I only want a single file.

load more comments (1 replies)
[-] alottachairs@beehaw.org 3 points 1 year ago

Github desktop is the only way I know how to clone my private repo. I do not understand how to clone my private repos through CLI.

load more comments (5 replies)
[-] s_w@beehaw.org 3 points 1 year ago

I use IntelliJ's built-in git GUI.

I don't understand why people use command line only. Sure, learn the commands so if you need to use them you can, but most GUIs are far more feature rich than command line. With IntelliJ, I can easily view differences before committing, have it do code quality scans, automatically clean up any code it can, more easily choose which files I want to commit vs the typical 'git add .' I see most people do with command line, have separate changelists when pair programming, and much more.

One argument that continually comes up is that command line is faster. I completely disagree. If I want to just commit the code without reviewing it, I can use 2 hot keys and the code is committed and pushed. But as I do a quick readthrough of all the code first and review issues from the code quality analysis it does take more time, but still less than it would to do comparable things with command line.

load more comments (3 replies)
[-] narc0tic_bird@beehaw.org 3 points 1 year ago

I use a mix of CLI, the Git UI built into VSCode, and Sublime Merge.

Sublime Merge is great for getting an overview, it's very snappy (especially when compared to Electron Git UIs), and I love the merge conflict editor. It's not cheap, but worth every penny.

[-] arandomthought@vlemmy.net 2 points 1 year ago

Isn't it free if you're okay with using it in light mode?

load more comments (1 replies)
[-] hazelnoot@beehaw.org 3 points 1 year ago

For daily work, I use the git integration built into my IDE. Occasionally I need the CLI for something complex.

[-] miah@midwest.social 3 points 1 year ago

Closest I get to a gui is magit in emacs.

load more comments (1 replies)
[-] davehtaylor@beehaw.org 3 points 1 year ago

I have some git blame extention in VSCode, but otherwise no. Something about using gui tool for git makes me feel so disconnected from it, like I'm not entirely sure what's going on, and afraid I'm going to fuck something up

Also, I forget commands all the time. Mostly ones I don't use often, like changing/adding/removing remotes, changing settings, etc.

[-] abhibeckert@beehaw.org 3 points 1 year ago* (last edited 1 year ago)

I use various extensions for Visual Studio Code. They add a million features, but these are the ones I find most useful:

I prefer to view the current status of my checkout in the sidebar of my code editor than on the command line.

It's easier to view a diff of a file and decide whether to stage or rollback changes in a GUI. With most GUIs you can even select individual lines of code and revert or stage them.

I like how Commit and Push and Pull are a single "Commit & Sync" button in Visual Studio code. Similarly there's a simple "Sync" button in the status bar.

Speaking of the status bar - it also has a counter for commits that need to be pushed or pulled. And it tells you what branch you're currently on. And whether you have uncommitted changes. Handy.

I find the GUI equivalent of git log --graph is significantly easier to understand when the graph is drawn with nice vector lines instead of ASCII art.

Finally - I don't just use raw git, I also use extensions like pull requests, and I create branches for issue numbers. I have an extension that shows pull requests in Visual Studio Code and also shows issues assigned to me, with a one click "Start Working" button to create a branch named after the issue and change the issue status to In Progress. And when I'm finished working on it, there's a button for that too.

[-] ChrissieWF@discuss.tchncs.de 3 points 1 year ago

Developing in a Windows environment, I generally prefer Git Extensions.
It doesn't distract the eye with unneeded fancy and is very close to a command line git experience but still allows me a better visual sense of the repository and branches.

[-] MaxPower@feddit.de 2 points 1 year ago* (last edited 1 year ago)

If you have trouble remembering git commands for CLI have a look at the tool tldr:

https://man.archlinux.org/man/tldr.1.en

For example if you need to remember how to use the branch command you could look it up with

tldr git branch

which would give you an overview on the most popular use cases.

And in case you don't already know: You may want to use the history search tool of your shell by hitting CTRL-r and then for example typing branch. You'd get a list of past commands you have used containing branch that you can flip through by repeatedly hitting CTRL-r.

[-] Joph@programming.dev 2 points 1 year ago* (last edited 1 year ago)

I use the TUI gitui Though I also use the git cli directly too, depends on what I'm doing.

[-] gifflen@beehaw.org 2 points 1 year ago

I'm loving all of the TUIs cropping up lately. Thanks for sharing!

[-] dracul104@lemmy.sdf.org 2 points 1 year ago

I mainly program in Visual Studio so I use it's integration for simple commits, diffs, and checkouts. Anything more complicated than that I head for the command line.

[-] postscarce@kbin.social 2 points 1 year ago

I use GitHub Desktop for 95% of my git needs, terminal for the other 5%

[-] Tristar500@kbin.social 2 points 1 year ago
[-] sunshine@kbin.social 2 points 1 year ago

If you're already comfortable working in the shell, you should check out tig. It's not as fully featured as the other clients named here, but it's an excellent viewer nevertheless.

[-] corytheboyd@kbin.social 2 points 1 year ago* (last edited 1 year ago)

tig is rad, though it’s more like git log on steroids than a proper UI for git commands (at least the way I use it)

[-] Martinligabue@kbin.social 2 points 1 year ago

I use github desktop since I'm not using git a lot, and that gui is very easy to understand

[-] readbeanicecream@kbin.social 2 points 1 year ago

Same here. My git needs are basic.

load more comments
view more: next ›
this post was submitted on 20 Jun 2023
38 points (100.0% liked)

Programming

13361 readers
60 users here now

All things programming and coding related. Subcommunity of Technology.


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 2 years ago
MODERATORS