I really like GitUp on Mac, and I'm looking for something similar on Linux. Any recommendations for a tool that can visually show the branches in a project? To demonstrate what I mean, see this screenshot from the project's Readme:
-
We will need much more information to give good recommendations here – asking for "a tool like X" is never giving enough details, even if linked. You should always list your requirements explicitly. Please see How to ask for an alternative to some software and the questions linked to it for details.– IzzyCommented Dec 7, 2020 at 23:55
-
1Thanks @Izzy for adding the screenshot - it really shows well what I'd like. Branches as lines, branch names, labels, dots as commits, and not much else. Really minimal. No commit text or names or anything on the main display. It visualises the branches in a great way that really helps see what's been branched and where it merged, and which branches aren't yet merged. I know it's possible with the CLI but this view is superior for documents and presentations to a wider audience.– Antony HutchisonCommented Dec 15, 2020 at 10:14
-
Gladly done – and even more glad you like it! And even more even more glad if that helps you to fitting recommendations now… Fingers crossed!– IzzyCommented Dec 15, 2020 at 16:09
2 Answers
If you want something pretty and yet professional and highly functional, you might want to check out GitKraken. It is not open-source, but free for personal use.
Another one that is open-source is GitAhead, but I find it a bit more awkward to use, and not as fully-featured as GitKraken.
-
GitAhead looks interesting, but not available on Ubuntu 20.04 via Apt or Snap? Install via a shell script, with no clean way to uninstall is amateur at best, so I'll not risk it. Commented Dec 11, 2020 at 8:57
-
GitKraken looks good, but has a bad subscription model (pay yearly, but unlike Jetbrains for example has no right to use old version if no longer subscribing). I've no problem paying, but believe in software ownership not rental. Commented Dec 11, 2020 at 9:00
You probably have them already installed without knowing it: gitk
and git-gui
are two graphical tools coming with the git
packages on a Linux system.
GitK (left) and Git-GUI (right) are two graphical tools for git on Linux (click images to enlarge)
gitk
gives you the branch visualization you've asked forgit-gui
helps you with commit, push & Co. From its "Branch" menu, you can directly opengitk
-
Solid answer, these are functional... but hardly in the same league of usability as GitUp. GitUp is just so pretty. I'm wanting the lines but without the masses of details. Commented Dec 7, 2020 at 10:28
-
1Well, apologies – but I'm no Mac user, so how should I be able to tell? That's why we recommend giving all required details in your question (from the canned comments: »asking for "a tool like X" is never giving enough details, even if linked.«), see How to ask for an alternative to some software :) May I suggest you edit your question and include your requirements verbatim?– IzzyCommented Dec 7, 2020 at 23:54
-
I think the requirement of 'visualise branches a bit like GitUp' is about as clear as it can get. Still, these are useful suggestions and may help someone. Have an upvote :-) Commented Dec 11, 2020 at 9:02
-
1Thanks @antonyh – and they may be clear to someone knowing GitUp. Non-Mac-users often do not. Maybe a screenshot would help. I've searched for where the GitUp project is, found it, and added link as well as screenshot for you.– IzzyCommented Dec 11, 2020 at 21:16