this post was submitted on 20 Jun 2023
34 points (100.0% liked)

Programming

13362 readers
1 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 1 year ago
MODERATORS
 

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.

(page 2) 50 comments
sorted by: hot top controversial new old
[–] kryostar@beehaw.org 2 points 1 year ago

My inbox got fediversized, fantastic feeling.

Hey hey hey, I want that too!

As for git, I just use the plugin on VS code. Nothing fancy. I didn't even know there's other options like GUI to be honest.

[–] evolatic@beehaw.org 2 points 1 year ago (1 children)

I use GitKraken. It has a beautiful interface. It's free to use non-commercially but I pay $50/yr so that it can connect to my companies Enterprise account. I know I'm weak with git (I get the concepts but I'm a visual person) so the money is worth it to me.

[–] Hellebert@beehaw.org 1 points 1 year ago* (last edited 1 year ago)

It's not free to work with certain things like private GitHub repositories unfortunately.

[–] hunte@beehaw.org 2 points 1 year ago

Since I use Emacs I've been really happy with Magit, even tho it's UI has a bit of a learning curve to it. I've been also trying out Gitg since I moved back to GNOME and it's been really solid as well. It lacks a couple really nieche features but otherwise as a fast commit tracking/writing tool it's very good.

[–] cityboundforest@beehaw.org 2 points 1 year ago

Since I work in Linux and primarily code in languages like C and C++ (i.e. compiled langs), I work completely in the terminal, so I don't use any GUI. It's nice and I'm already there for my compiling so I might as well use it for git.

However, re remembering all the commands, there is a nifty website I found a while ago and bookmarked called Git Explorer where you basically choose from dropdowns of what you want to do and it gives you the command(s) for it.

[–] davehtaylor@beehaw.org 2 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.

[–] Lells@kbin.social 1 points 1 year ago

I use GitKraken, which is pretty great, but for a lot of day to day stuff I just end up using the CLI

[–] Elbullazul@lem.elbullazul.com 1 points 1 year ago

I mostly use the CLI, but I occasionally use fork when a GUI is needed

[–] CoffeeBot@lemmy.ca 1 points 1 year ago

My office blocks git through the CLI/VS Code Tools but somehow GitHub desktop works. No idea why.

[–] Xanvial@lemmy.one 1 points 1 year ago* (last edited 1 year ago) (1 children)

I use git fork on Mac, same reason, I don't remember all the commands. Also want to see the history visualization

[–] CrawX@discuss.tchncs.de 1 points 1 year ago

Seconded. Easily the best UI in my opinion. I usually commit through IntelliJ and use fork for everything else.

[–] terribleplan@lemmy.nrd.li 1 points 1 year ago

I own sublime merge because it was cheap when I upgraded to ST4, but never use it. It's not bad or anything, but honestly the CLI is more convenient to use (and all the GUIs I've used have a lot of clicking involved). I don't know that you're going to find something better than the CLI, especially given your requirement ow "comfortable to use with only a keyboard".

[–] Notyocheese@kbin.social 1 points 1 year ago

I use Git Tower and I love it. I'm surprised I don't see it mentioned here.

[–] mkeee2015@lemm.ee 1 points 1 year ago* (last edited 1 year ago)

(GitKraken)[https://www.gitkraken.com/] is nice.

It is free "for solo developers working with local/public repos" (and free for all remaining cases, under (GitHub academic benefits)[https://education.github.com/]).

[–] dracul104@lemmy.sdf.org 1 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.

[–] Frederic@beehaw.org 1 points 1 year ago

I mostly use CLI but sometimes SourceTree, it's neat

[–] postscarce@kbin.social 1 points 1 year ago

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

[–] alottachairs@beehaw.org 1 points 1 year ago (1 children)

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.

[–] variouslegumes@reddthat.com 1 points 1 year ago (1 children)

Github desktop will get you into trouble if you ever try to work with a team. Fine for solo development

[–] MoonRocketeer@beehaw.org 1 points 1 year ago (1 children)

I use Github Desktop but am looking to start moving toward CLI soon for this reason; though to be honest, I only know it's not good practice and don't know the reason why. What kind of issues can happen in a team environment using it?

[–] variouslegumes@reddthat.com 2 points 1 year ago (2 children)

The CLI and probably other more advanced guis are going to give you the option to:

  • bisect: very useful for debugging. Like definitely check it out.
  • rebase: excellent for clean commits. I use it all the time to squash commits together
  • diff arbitrary branches and commits. Super useful for debugging.
  • cherry pick: useful to apply a commit from a different branch or remote
  • Apply: I use it to pass around patches for things for testing / debugging.

That's just off the top of my head and also stuff that you can learn on the job. Good to know it exists though. I still use a "gui" (fugitive for vim) for simple tasks, like staging files 🙂

[–] ascense@lemm.ee 2 points 1 year ago* (last edited 1 year ago)

For me, I don't think I could survive without git stash, I use it daily for various reasons (e.g. for validating a small bug fix, git stash & git stash pop lets me attempt to reproduce the issue both with and without a correction). The one downside with the CLI stash command is that it's very easy to forget things in stash though, but I don't think GUIs generally support stashing?

Another one I find myself doing quite often is git checkout BRANCH -- PATH, to pull specific versions of files between branches.

[–] MoonRocketeer@beehaw.org 1 points 1 year ago

Thanks for this, absolutely helpful information.

[–] Tristar500@kbin.social 1 points 1 year ago
[–] shaggy@beehaw.org 1 points 1 year ago

I use SourceTree regularly, but when shit hits the fan, I always fall back to the terminal.

[–] miah@midwest.social 1 points 1 year ago

Closest I get to a gui is magit in emacs.

[–] potato@lolimbeer.com 1 points 1 year ago (1 children)

While I do most actions with the git command or the git fugitive plugin from tpope, I will sometimes whip out lazygit for certain things I don’t do that often.

https://github.com/jesseduffield/lazygit

[–] dmrzl@programming.dev 1 points 1 year ago

I raise that by a "I wouldn't know how to survive half a day without lazygit". From my experience only maggit is in the same level - I just don't use emacs.

[–] james@lemmy.jamesj999.co.uk 1 points 1 year ago

I generally don't trust most git GUIs - a number of our developers have used SourceTree on OS X before and it's led to nothing but issues. The only one I trust is the one built into IntelliJ IDEA, otherwise I'll use commandline.

[–] qevlarr@beehaw.org 1 points 1 year ago* (last edited 1 year ago)

SourceTree when I was still a software engineer.

I'm a manager now, and I see people insisting on command line who have no idea what they're doing. Then don't! I think it's an awful attitude that real programmers use git command line, and GUIs are for babies. Please call out this attitude whenever you see it. Use tools that work for you. Git has a terrible user experience, let's face it.

[–] ngons@vlemmy.net 1 points 1 year ago (1 children)

I've used https://www.sublimemerge.com and https://www.sourcetreeapp.com but I think i prefer to just use my terminal most of the time...

[–] MrGoodBright@beehaw.org 1 points 1 year ago

I'm almost all terminal but I use merge to squash and edit commit messages cause I'm weak

load more comments
view more: ‹ prev next ›