News for hackers. Stuff that matters.
Re:Why SQLite does not use Git (2018) by ittan on Friday November 05, 2021 @08:28PM (#29126230)
It is because the features on github.com directly correlate to a git feature.
Re:Why SQLite does not use Git (2018) by casion on Friday November 05, 2021 @09:12PM (#29126546)
Ah yes, pull requests and adjacent functionality is my favorite part of git.
Re:Why SQLite does not use Git (2018) by jolux on Friday November 05, 2021 @09:50PM (#29126804)
There is, in fact, an analogous Git feature: https://git-scm.com/docs/git-request-pull
Re:Why SQLite does not use Git (2018) by sigstoat on Friday November 05, 2021 @08:40PM (#29126315)
so where’s the one that correlates to git log —graph ?
Re:Why SQLite does not use Git (2018) by tim-- on Friday November 05, 2021 @08:47PM (#29126361)
Click 'commits' on any repo and you will see the graph.
Re:Why SQLite does not use Git (2018) by ori_b on Friday November 05, 2021 @08:50PM (#29126383)
Where does it show the branches and merges?
Re:Why SQLite does not use Git (2018) by FPGAhacker on Friday November 05, 2021 @09:21PM (#29126616)
It’s weird if GitHub doesn’t have that. Gitlab does. https://gitlab.com/gitlab-org/gitlab-runner/-/network/main
Re:Why SQLite does not use Git (2018) by jcranmer on Friday November 05, 2021 @09:16PM (#29126577)
That would be the network view.
Re:Why SQLite does not use Git (2018) by sigstoat on Friday November 05, 2021 @11:52PM (#29127368)
that only shows you inter-repository activity, not the branches within a repo.

that would be worthless for most people, and for the sqlite authors, who'd surely have a million people pressing the 'fork' button.

it also isn't what anyone in the thread, or post, were asking for.

Re:Why SQLite does not use Git (2018) by sigstoat on Friday November 05, 2021 @11:50PM (#29127356)
all i've ever seen is something which displays a single branch, and does not contain the graph structure information present in git log --graph.

perhaps you'd be so kind as to provide a link to a page on github which demonstrates the same graph structure?

Re:Why SQLite does not use Git (2018) by leephillips on Saturday November 06, 2021 @12:31AM (#29127539)
I’ve never found that either. I try to limit my interactions with GitHub to copying the URL to clone and doing pull requests. GitHub has the same relationship to Git as OverLeaf has to LaTeX: a layer of excrement smeared over and defacing a beautiful program. The saddest thing is that much of the current generation of programmers think that GitHub is Git.
Re:Why SQLite does not use Git (2018) by rezonant on Friday November 05, 2021 @08:37PM (#29126298)
Curious: What git feature does Network mirror then?
Re:Why SQLite does not use Git (2018) by lelandfe on Friday November 05, 2021 @09:13PM (#29126559)
Under the hood, “forks” are really just fancy branches. So realistically that would also be git log
Re:Why SQLite does not use Git (2018) by auxym on Friday November 05, 2021 @08:40PM (#29126321)
git log?
Re:Why SQLite does not use Git (2018) by rezonant on Friday November 05, 2021 @08:56PM (#29126432)
Hmm, GitHub Network is much more than log. I think "GitHub Commits" page mirrors git log.
Re:Why SQLite does not use Git (2018) by Ajedi32 on Friday November 05, 2021 @09:25PM (#29126644)
Network is more like `git log --graph --decorate --oneline`. Still git log, just in a slightly different format.
Re:Why SQLite does not use Git (2018) by alex_smart on Friday November 05, 2021 @09:52PM (#29126819)
> Network is more like `git log --graph --decorate --oneline`

... across all forks, which makes the UI much more cluttered than it needs to be. What if you are only interested in commits in your own repo?

Github really does seem to lack a clean equivalent of `git log --graph`.

Re:Why SQLite does not use Git (2018) by rezonant on Friday November 05, 2021 @09:50PM (#29126808)
`git log --graph --decorate --oneline` is specific to a branch of a repository. Github Network shows the relationship between forks. It is similar but really the question answered by it is "what and where is the work being done" and "what is the relationship between work being done and this repository I'm looking at". It sucks that Network is buried, I think it should be much more accessible.

Eg https://github.com/sindresorhus/delay/network tells me that this work is being maintained actively, but most forks are not merging back. Another one might tell me work on the main fork is stalled, and many users are now doing PRs against a fork of the original.

Re:Why SQLite does not use Git (2018) by est31 on Friday November 05, 2021 @11:10PM (#29127164)
Maybe git log --graph --decorate --oneline --all then? Github implements forks as just fancy branches in the same repo. Adding the all param includes all branches.