Hacker News new | ask | show | jobs
by Oxidation 1204 days ago
Honestly, I think that if "git lol" was the default log command it would do the most to make things much more obvious to newcomers.

  git log --oneline --graph
And git lola for a gestalt of the repo's recent state:

  git log --oneline --graph --all
4 comments

Just think about how useless and confusing the GitHub's history view is as soon as a merge is involved. Countless times I pulled something from there just to browse the graph because of how unhelpful the web UI is.
For how popular it is, GitHub really sucks: internet has simply miserable ways to visualize commits :/.
I'm still looking for a tool which produces a timeline similar to Fossil's, but for git.

Example Fossil graph: https://chiselapp.com/user/rkeene/repository/kitcreator/time...

I'm probably missing the details but doesn't most git GUI show a timeline like that? Such as the official desktop version and official (?) gitlens extension in VSCode? I don't use them myself though so I might be wrong.
gitup and other git clients for example do this: https://gitup.co/
I can't try gitup since it seems to require macOS -- ideally something web-based similar to Fossil.
If you do that ^ a lot then look at the `tig` tool which is that with an ncurses ui (and some more features)
VSCode users may enjoy the extension "Git Graph."