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

Programming

13562 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 2 years 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
[–] Da_Boom@iusearchlinux.fyi 3 points 2 years ago

I don't use a GUI, with the exception of Meld as my primary difftool

At work I wish they were using git. But we got SVN. How I long for the ability to use pull requests. But tortoiseSVN has some nice features (I'm stuck with windows over there) even if it's lacking in overall functionality.

[–] james@lemmy.jamesj999.co.uk 3 points 2 years 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.

[–] f15htastic@programming.dev 3 points 2 years ago

I used to use GitKraken at my old job and loved it most of the time, slick UI and generally did what you wanted to do.

I'm using Atlassian SourceTree at my current place since it's what they give us and it's...fine. Not as nice as GitKraken.

I mainly use them because I originally used TFS's TFVC when I started my career and when we transitioned to Git, I started out using a GUI so never really learned to use the CLI.

[–] Geo_bot@dataterm.digital 3 points 2 years ago

I've been using the git gui extension for a while and resolve conflicts in vs code. I also just use a lot of cli

[–] dracul104@lemmy.sdf.org 3 points 2 years 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.

[–] CaptainJack42@discuss.tchncs.de 3 points 2 years ago

Haven't seen it mentioned here, I've recently been using lazygit from time to time and I quite like it, especially committing only a few changed lines from a file is nice and quickly amending to old commits. I still use cli for more complicated stuff though.

[–] Martinligabue@kbin.social 3 points 2 years ago (1 children)

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

[–] readbeanicecream@kbin.social 3 points 2 years ago

Same here. My git needs are basic.

[–] Towerism 2 points 2 years ago

Tig is a pretty nice terminal gui

[–] terribleplan@lemmy.nrd.li 2 points 2 years ago (1 children)

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".

load more comments (1 replies)
[–] mkeee2015@lemm.ee 2 points 2 years ago* (last edited 2 years 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/]).

[–] Lells@kbin.social 2 points 2 years ago (1 children)

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

load more comments (1 replies)
[–] potato@lolimbeer.com 2 points 2 years 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

load more comments (1 replies)
[–] thekerker@kbin.social 2 points 2 years ago

I kinda do both? For some reason, I prefer the CLI when I clone a repo, but Sourcetree for committing, pulling, and pushing, and my IDE's built in git tools for merges.

[–] useful_idiot@lemmy.eatsleepcode.ca 2 points 2 years ago* (last edited 2 years ago)

Tower on Mac is excellent, tig in terminal is also very powerful once you read the help/man pages!

[–] lijenipenzic 2 points 2 years ago

Would it work for you if you created git aliases for commands you can't remember?

[–] ngons@vlemmy.net 2 points 2 years 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 2 points 2 years ago

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

[–] cityboundforest 2 points 2 years 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.

[–] shaggy 2 points 2 years ago

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

[–] qevlarr 2 points 2 years ago* (last edited 2 years 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.

[–] mr_strange@discuss.tchncs.de 1 points 2 years ago

If I need a visualisation, then gitk is there for me.

If you can't remember commands, then get yourself a cheat-sheet.

[–] ppb1701@kbin.social 1 points 2 years ago

@lysy SourceTree. Tabs for multiple repos, history search and a gui view of the branch(es). Integrates without a lot of trouble.

[–] floofloof@lemmy.ca 1 points 2 years ago

I used SmartGit until they tried forcing me to pay. Now I use Sourcetree and the Git tools built into Jetbrains IDEs. But there are still some operations I prefer to do from the command line because I screw up more often with GUIs.

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

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

[–] MeowdyPardner@kbin.social 1 points 2 years ago

Not really but sometimes if I need a visualization of something complicated that I can't see in my head I'll go to the network tab under insights in github

[–] cosima_takeyama@discuss.tchncs.de 1 points 2 years ago* (last edited 2 years ago)

I haven’t found anything better than Sublime Merge when it comes to replacing git’s interactive staging (git add —patch) with a more friendly UX. The closest thing would be IntelliJ’s change sets feature but, in my experience, it’s much less useful because it still hunks lines near each other. In Sublime you have line by line selection to stage stuff.

It helps a lot when reorganizing commits at review time and before doing a merge. It’s also incredibly fast and can show you the actual git commands it’s running which can be helpful for folks who are still learning the CLI.

load more comments
view more: ‹ prev next ›