La nuova BBS è in fase Alpha. I post precedenti al 22 luglio 2024 potrebbero non essere trasferibili, ma rimarranno disponibili per la lettura su /old/.
thinking about "gists"
-
thinking about "gists"
hear me out
github repo called "snippets"
a "gist" is a branch in this repo, the branch name is the "gist" name
each commit in the repo is a new "version" of the "gist", liberal use of rebasing is encouraged
just having a git viewer (cgit, literally anything) means you can already view the things
but with this kind of scheme you can also trivially build something more specific for it -
thinking of trying it tbh tbh famalam -
making a new "gist" is just `git switch --orphan name`
means that `git log` is actually clean, since all the branches are orphans, but you can still see "all commits" with a `git log --all` -
@toast so, the goal is to group together related gists...?