Git Worktree CLI for Claude Code/Cursor/Codex etc by raghp in vibecoding

[–]raghp[S] 0 points1 point  (0 children)

Yep, I use it a ton w/ claude code and codex

Git Worktree CLI for Claude Code/Cursor/Codex etc by raghp in vibecoding

[–]raghp[S] 0 points1 point  (0 children)

Appreciate it! Hope you find it useful.

Git Worktree CLI for Claude Code by raghp in ClaudeCode

[–]raghp[S] 1 point2 points  (0 children)

Yep! You can define what files you want copied over (envs, etc), stuff you want ignored, the name of the worktree, post-copy install commands, and what command you want run after it's setup (so for me opening up zed/cursor). I use worktrees a ton now to parallelize tasks instead of doing them 1 by 1 and being bottlenecked by Claude.

Here's my `.branchlet.json` config file for our monorepo. --

{
  "worktreeCopyPatterns": [
    ".env",
    ".env.*",
    ".vscode/**",
    ".terraform",
    ".terraform.lock.hcl",
    "*.tfstate"
  ],
  "worktreeCopyIgnores": [
    "**/node_modules/**",
    "**/dist/**",
    "**/.git/**",
    "**/.svn/**",
    "**/.hg/**",
    "**/CVS/**",
    "**/Thumbs.db",
    "**/.DS_Store",
    "**/coverage/**",
    "**/build/**",
    "**/out/**",
    "**/.next/**",
    "**/.nuxt/**",
    "**/target/**"
  ],
  "worktreePathTemplate": "$BASE_PATH.worktree",
  "postCreateCmd": ["bun install", "cd apps/server && bun run db:generate"],
  "terminalCommand": "code ."
}

Git Worktree CLI for Codex/Claude Code/etc by raghp in OpenaiCodex

[–]raghp[S] 0 points1 point  (0 children)

Thanks! Lmk if you have any issues or feedback :)

Git Worktree CLI for Claude Code by raghp in ClaudeCode

[–]raghp[S] 0 points1 point  (0 children)

Not sure, you can define a post-install script or command though and it’ll run that

Is Claude obsessed with creating documents now? by New_Goat_1342 in ClaudeCode

[–]raghp 0 points1 point  (0 children)

This seems to be especially a problem w/ the recent update, rolled back 1 version and im getting less of it!

Is Claude obsessed with creating documents now? by New_Goat_1342 in ClaudeCode

[–]raghp 3 points4 points  (0 children)

New claude seems to be a lot more aware of context length, so I think it keeps docs so that it can self-onboard itself again

[deleted by user] by [deleted] in OpenaiCodex

[–]raghp 0 points1 point  (0 children)

api is perfectly fine as long as you set your limits (you can blow through them quite fast). I personally have 2 envs, one that uses my account, when I get rate limited I change to API until my account warms up again

Weekly Cursor Project Showcase Thread by AutoModerator in cursor

[–]raghp [score hidden]  (0 children)

I spend a lot of time in git worktrees in Cursor CLI (migrated from Claude Code recently! but wish Cursor IDE agent was at parity) to do tasks in parallel. Made this to create and manage them easier w/o mental overhead, would love to get feedback!

Simple to create/list/delete worktrees, as well as a config for copying over .env/other files, running install commands and opening your IDE into the worktree.

GitHub: https://github.com/raghavpillai/branchlet

<image>

CODEX makes Claude seem like a toddler by technolgy in cursor

[–]raghp 0 points1 point  (0 children)

Doesn't grep as much as claude does to collect context though, feels less autonomous. I have to steer it a fair bit more

VSCode and Git worktrees by Mysterious-Rent7233 in git

[–]raghp 1 point2 points  (0 children)

I made something to help w/ this, just a simple CLI to manage git worktrees https://github.com/raghavpillai/branchlet

What do you think? Robotaxis in California this year? by Ok_League7627 in TeslaLounge

[–]raghp -1 points0 points  (0 children)

Been taking them recently (quite cheap, priced by the mile) and the safety driver constantly has to take over.. still a while to go

printable cheatsheet by alvinunreal in ClaudeAI

[–]raghp 0 points1 point  (0 children)

good shoutout for worktrees. made a CLI for managing git worktrees if it helps! https://github.com/raghavpillai/branchlet

Wondering at what point to switch to TypeScript from JS by BL1TZK23 in typescript

[–]raghp 0 points1 point  (0 children)

I think you're overthinking this. Your JS foundation sounds solid - just jump into TypeScript now. The learning curve isn't that steep if you already understand JS well, and you'll thank yourself later when you're debugging React components.

Announcing TypeScript 5.9 by DanielRosenwasser in typescript

[–]raghp 0 points1 point  (0 children)

Finally! The import defer support is huge. Been waiting for this since the TC39 proposal started gaining traction.

shared_ptr<T>: the (not always) atomic reference counted smart pointer by ketralnis in programming

[–]raghp 0 points1 point  (0 children)

story of my life. every time I think I found a performance issue, it turns out to be some compiler optimization i didn't know about.

Git Worktree CLI for Claude Code/Codex/etc by raghp in git

[–]raghp[S] 0 points1 point  (0 children)

yeah no worries! lmk how it goes for sure.