this post was submitted on 30 Jul 2023
13 points (100.0% liked)

Programming

355 readers
1 users here now

This magazine is dedicated to discussions on programming languages, software development, and coding. Whether you are a beginner programmer or an experienced developer, this is the place for you. Here you can share your knowledge, ask questions, and engage in discussions on topics such as coding languages, software engineering, web development, and more. From the latest trends and frameworks to tips and tricks for debugging, this category covers a wide range of topics related to programming.

founded 2 years ago
 

I was looking at video reviews of git GUI clients. The best ones are pricey and we are two people occasionally editing some webpages for our business website. It’s hosted on GitLab Pages.

Can anyone recommend something straightforward? I’ll be sticking to the terminal but my colleague is new to code repositories.

Git GUI is free, but looks terrible IMO. Sublime have a nice one and it’s not subscription based, but is expensive. We are both on Mac usually.

Another alternative I considered was showing them the three terminal commands I use mainly (add, commit and push) and then let them edit from the file manager itself. But because they’ll be doing this so rarely, it might be easy to forget.

Edit: I’ve settled on a few to try out: sourcetree, fork, gitup and the one by Sublime. The conversation doesn’t have to end there, but thanks for the help. So many great answers here :)

top 19 comments
sorted by: hot top controversial new old
[–] [email protected] 6 points 1 year ago* (last edited 1 year ago) (2 children)

Sourcetree is pretty good. GitHub Desktop is cross-platform and pretty good. Visual Studio Code has a GUI for git management and it's pretty good too. The last two are free, but idk about Sourcetree.

[–] [email protected] 2 points 1 year ago

Thanks. Just checked the Atlassian site and Sourcetree is a free download. I don’t see any mention of pricing either so it doesn’t seem to be a limited trial from what I can tell. Great!

[–] [email protected] 2 points 1 year ago

+1 for Sourcetree

[–] [email protected] 4 points 1 year ago (1 children)

I use Sourcetree on Mac for work, though I use the terminal most of the time.

[–] [email protected] 1 points 1 year ago

This was reviewed in the video I linked in another comment. Looking at their website though, at that link you share, it looks really suitable for beginners. Thank you, I appreciate the link.

[–] [email protected] 4 points 1 year ago (1 children)

for GUI I’m a fan of VS Code with the Git Graph extension. a not so much GUI solution would be setting up Starship. it gives the user visual feedback on what branch and if there changes to the repo along with a bunch of other fun stuff. since you’re on MacOS it’s super easy to install with Homebrew

[–] [email protected] 1 points 1 year ago

Git Graph looks very suitable for my partner. Star Ship is something I might use myself. I appreciate these, thanks!

[–] jeeva 4 points 1 year ago

Other than the subscription model, I'm a huge fan of GitKraken (and the vscode extension, GitLens).

[–] [email protected] 3 points 1 year ago (2 children)

Not gui, but tui, lazygit is my favourite. It's got all the features you could need, help with ?, and doesn't limit stashes like github desktop for litterally no reason. If that doesn't work for you have you tried github desktop?

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago) (1 children)

lazygit is by far the best git ui imo. you have to give a shit to learn how to use it correctly (same goes for any tool), but the developer has made fantastic demo videos explaining the features. He has clearly used git professionally for a long time, and built something to solve the exact real-world git problems.

I guess I wouldn’t give lazygit to someone with no git experience… I would set up some branch protection rules asap so they can’t use a ui to force reset a main branch or something.

[–] [email protected] 1 points 1 year ago

I was impressed with that video (linked in another comment I think).

[–] [email protected] 1 points 1 year ago

LazyGit is something that I’ll definitely test out for my own use, thank you so much!. I’ll see what they think of it too.

I’ve looked at a video comparison which included GitHub Desktop and it seemed unintuitive to me. https://yewtu.be/watch?v=4cX4HeN6lH8

But it was compared against top-tier clients like Git Kraken so maybe it’s better than the impression I was left with. Actually, I think I’ll test it out too and show it to them along with LazyGit and Fork. Thanks again.

[–] [email protected] 3 points 1 year ago* (last edited 1 year ago) (1 children)

Sublime Merge is what I use at work and is the only Git GUI I've had good luck with. It's not free but well worth the 50 bucks, or you can use it with the nag screen indefinitely like Sublime Text.

[–] [email protected] 3 points 1 year ago* (last edited 1 year ago)

Oh, I didn’t realise you could use it with the nag screen! Considering it will be used no more than once per month I think we can handle that :) Thanks, that settles it.

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago) (2 children)

Check out fork - I believe it's a one time fee but still has a nice UI and does most things I need without having to break out the command line. https://github.com/fork-dev

*Edit: Here is their website, rather than git hub page: https://git-fork.com/

[–] [email protected] 1 points 1 year ago

That looks pretty good and €50 won’t break the bank. Thanks, I’ll seriously consider this.

[–] Grumpy 1 points 1 year ago

Used to use SourceTree, but switched to Fork and have never looked back.

[–] [email protected] 2 points 1 year ago

It's a Windows-specific client, but I really like GitExtensions.

[–] [email protected] 2 points 1 year ago

I know OP is on Mac, but for anyone needing a git GUI on Windows, TortoiseGit is probably the best you'll find. Integrates right into File Explorer, turns nearly every command into a form, every flag and parameter into a field, and it even shows you the command you end up running. Very powerful, and doesn't do anything non-standard (looking at you Github). It's actually taught me more about git than just reading the manual ever did.