←back to thread

Oh Shit, Git?

(ohshitgit.com)
464 points Anon84 | 2 comments | | HN request time: 0s | source
Show context
SebastianKra ◴[] No.42730483[source]
We should start recommending UIs as the default way to learn Git. It would solve a third of these problems and another third wouldn't even come up.

If you later decide that the CLI is faster, go ahead. But first, people need to see visually how they can interact with the tree.

I like fork.dev, but most clients are pretty similar at this point.

replies(14): >>42731131 #>>42731315 #>>42731362 #>>42731414 #>>42731485 #>>42731663 #>>42731730 #>>42732771 #>>42732796 #>>42732944 #>>42734694 #>>42739237 #>>42740117 #>>42747946 #
1. MrJohz ◴[] No.42731663[source]
I've started recommending jj as a (git compatible) alternative to git, and one of the things I like about it is that the default action if you run `jj` with no arguments shows the relevant parts of the commit tree and where you are in it. This is a great reorientation tool, because you can see at a glance which commit you're working on right now, the branches and history associated with it, any other active branches in your repository, and for each you can see whether each commit had messages, changes associated with it, etc.

It's really powerful because it gives you precisely that visual layout that shows you what's going on in the repository, and what you're doing right now.

replies(1): >>42746250 #
2. stouset ◴[] No.42746250[source]
Holy hell, I’ve used it for months now and had no idea.