this post was submitted on 23 Jul 2024
92 points (78.8% liked)

Programming

17668 readers
174 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 2 years ago
MODERATORS
 

Not my blog, but the author's experience reminded me of my own frustrations with Microsoft GitHub.

you are viewing a single comment's thread
view the rest of the comments
[–] eager_eagle@lemmy.world 50 points 5 months ago (1 children)

There are quite a few things I don't like about GitHub, but calling it legacy makes no sense.

[–] spartanatreyu@programming.dev 12 points 5 months ago* (last edited 5 months ago) (5 children)
[–] tyler@programming.dev 8 points 5 months ago

both of those aren't websites. I use fork though and had no clue you could do that. I've needed that like 10 times in the last week alone haha

[–] fmstrat@lemmy.nowsci.com 5 points 5 months ago (2 children)

I am about to make you very happy.

alias gl='git log --graph --abbrev-commit --no-decorate --date=format:'\''%Y-%m-%d %H:%M:%S'\'' --format=format:'\''%C(8)%>|(16)%h  %C(7)%ad  %C(8)%<(16,trunc)%an  %C(auto)%d %>|(1)%s'\'' --all'
[–] spartanatreyu@programming.dev 2 points 5 months ago

I use git log --graph --all --remotes --oneline whenever I need to shell into another computer, but it's still too barebones for regular use.

[–] Andromxda@lemmy.dbzer0.com 1 points 3 months ago

For my fellow fish shell users: git log --graph --abbrev-commit --no-decorate --date=format:'%Y-%m-%d %H:%M:%S' --format=format:'%C(8)%>|(16)%h %C(7)%ad %C(8)%<(16,trunc)%an %C(auto)%d %>|(1)%s' --all

[–] Kissaki@programming.dev 4 points 5 months ago (1 children)

I was thinking "oh, network view, this is gonna be a good example", but that comparison isn't.

What specifically do you think is legacy in that comparison? The coloring? The horizontal layout? The whitespace?

The network view lays out forks and their branches, not only [local]/[local+1-remote] branches.

I don't know what IDE that miro screenshot is from. But I see it as wasteful and confusing. The author initials are useless and wasteful, picking away focus. The branch labels are far off from the branch heads. The coloring seems confusing.

bg looks like the same

[–] spartanatreyu@programming.dev 2 points 5 months ago

What specifically do you think is legacy in that comparison? The coloring? The horizontal layout? The whitespace?

Note: I've changed the first link from https://github.com/cxli233/FriendsDontLetFriends/network to https://github.com/zed-industries/zed/network. Still the same view, but just a different repo to highlight the problems

  1. It's in a small non-responsive box
  2. Ridiculous spacing
  • If you want to see the commit messages, you either need to hover over a dot which increases visual scanning durations or you need to go to the commits view which only shows the commits on a single branch
  1. It doesn't show commit messages
  2. It's scrolling horizontally
  3. Branches cannot be collapsed
  4. Branches cannot be hidden/ignored
  5. No way to search for commits
  6. No way to select multiple commits
  • Which also means no way to diff any specific commits together
  • And there's also no way to perform an action over a range of commits
  • And there's also no way to start a merge/merge-request/pull-request/etc... between two commits
  1. No way to sort by date/topologically
  2. Keyboard controls only moves view instead of selecting commits

I'll stop here at 10 reasons (or more if you count the dot points), otherwise I'll be here all day.


The network view lays out forks and their branches, not only [local]/[local+1-remote] branches.

Yes, but the others can do that while still being usable.

I don’t know what IDE that miro screenshot is from. [...]

It's gitkraken

[...] But I see it as wasteful and confusing. The author initials are useless and wasteful, picking away focus. The branch labels are far off from the branch heads. [...]

The picture doesn't do it justice, it's not a picture, it's an interactive view.

You can resize things, show/hide columns, filter values in columns to only show commits with certain info (e.g. Ignore all dependabot commits), etc... Here's an example video.

[...]The coloring seems confusing.

You can customise all that if you want.

[–] JackbyDev@programming.dev 3 points 5 months ago (1 children)

Do either of those tools show logs across forks though? The first link is a totally different purpose than the second two.

[–] spartanatreyu@programming.dev 1 points 5 months ago

The first link is a totally different purpose than the second two.

The first link is going to there because that's the only graph view that github has.