Rendered at 01:49:22 GMT+0000 (Coordinated Universal Time) with Cloudflare Workers.
jsunderland323 4 hours ago [-]
I think direnv would actually play nicely with what we're working on https://coasts.dev. It's for isolating docker-compose runtimes so you can run multiple localhost runtimes and assign them to your various worktrees.
We specifically don't solve the env vars per directory problem, so this is really cool to see.
It's crazy the see the amount of hackery we're all having to figure out with worktrees, way cool to see all these solutions popping up.
d4rkp4ttern 14 hours ago [-]
Thanks - I use worktrees and direnv but never thought about this ennrc trick to auto-share .env across worktrees.
cui 8 hours ago [-]
But how did you use your main worktree's .env before? Symlink it?
_mrinalwadhwa_ 9 hours ago [-]
Oh, that's a really nice approach. Thank you for sharing.
cui 7 hours ago [-]
Thanks. How are you dealing with worktrees right now?
cui 23 hours ago [-]
This is how I currently use Git worktrees. Curious about how you are using it.
We specifically don't solve the env vars per directory problem, so this is really cool to see.
It's crazy the see the amount of hackery we're all having to figure out with worktrees, way cool to see all these solutions popping up.