ofc if you're running AI agents in YOLO mode — clones means you don't need to worry that Sonnet is going to see your .git/index.lock file and go "this is blocking me, let's rm -f this" and corrupt all your work that you never bothered pushing
HN user
cerved
Worktrees effectively share the entire state of the repo. Only limitation is that a branch can only be checked out in one repo at a time.
Clones only share the immutable object store
For most practical uses of same repo checking out different branches locally, worktrees are better.
The nice thing about clones is that you can have a backup clone, a wip clone, a review clone where you don't clutter the amount of local branch refs
Doesn't work. You need to mount both the worktree and the repo which defeats the point
you can also setup a local remote which hardlinks the index so it doesn't occupy more space. Why? Idk. You don't want to share stash, rerere-cache, branches whatever.
Also handy if you're running an agent in a container on the local fs. Set up a local clone, contain the agent to that repo folder and have it hack away on that. Later, you step out of the container and do the syncing. You can't use worktrees in this situations.
Bare repos are also pretty cool. You can clone the git mailing list as a bare repo and search for threads there instead of setting up an mbox (same for the kernel obviously)
Fwiw you can create your own trailers
Yolo-Slopped-By: Sonnet-4.5 <claude@anthropic.com>
https://git-scm.com/docs/git-interpret-trailersif you want to reason about language correctness you are better off using linters, compilers and things like fuzzing
the trend is AI also does the code review
please no. Keep at least four eyes on all code you ship
Anthropic obviously vibe code everything and it shows
You use gh to interact with the forge, git to interact with the repo.
For example
gh pr checks --watch
will run and poll the CI checks of a PR and exit 0 once they all passStarlink Consumer Broadband at $380B (9.2M subscribers, ~38x revenue)
I mean that Starlinks consumer broadband is valued at ~38x revenue, when other telcos are valued around 1.5x revenue. That revenue is 2533% more expensive, why pay such a big premium for something that's essentially the same?
Anthropic should run it on their own code
not strictly speaking, but in practice it's the tip of the remote default branch
For $380B you can get both AT&T and Verizon and you pay ~1.55x the revenue. Why pay 38x for Starlink?
Tip, you may want to use origin/HEAD over origin/master
It does
Would me be nice to try this on lcg (CP-SAT) solvers
Is the a b test tired to the installation or the user?
I instruct Claude to write like peff, writes much better commit messages now
If only the streaming giants would let us stream in decent quality..
So it does a forced reset of the dirt after each bash command? Does it confuse Claude? I frequently find it lacks path awareness of what it's working directory is
Hey Boris, can you teach CC how to use cd?
Probably they tried a real operating system.
It'll never happen. You can't distribute ZFS under GPL
ZFS and jails are two things FreeBSD does very well
Never had any issues but I've only ever tried to run it on supermicro boards
Do you mean compiler errors or some other kind of error message?
Claude is pretty good at forgetting to run maven with -am flag, writing bash with heredocs that it's interpreter doesn't weird out on, using the != operator in jq. Maybe Claude has early onset dementia.
Well glp1 doesn't make you want to eat broccoli. Just less in general
Funnily enough, not an article on grokipedia
To anyone wondering, I believe it's cursed because the finally continue blocks hijacks the try return, so the for loop never returns