- It'd be great to change the default branch used for creating new workspaces.
- I'd like the ability to add custom tools to the "Open in..." menu.
Charlieholtz · 4h ago
Ah yeah! Which IDE do you use?
> It'd be great to change the default branch used for creating new workspaces.
Yeah you can actually change this now! If you click the repo name you can make changes to the "setup script". If you added `git checkout -b "branch name"` it would run that on every new workspace instance.
dgritsko · 4h ago
At the moment it's mostly Cursor or VS Code, but I was actually thinking of SourceTree. I'd like to look at the pending changes and manage the commits myself, and I could do that if I could add "open -a SourceTree ." as a custom command. I didn't see a place to edit a setup script, is that just on the filesystem?
Charlieholtz · 3h ago
Got it! If you click the repository name in the left sidebar, you should see a field for setup script.
dgritsko · 2h ago
FWIW, this is what I wound up with - keeps the original branch name but ensures that it's based on the latest from the "dev" branch:
- It'd be great to change the default branch used for creating new workspaces.
- I'd like the ability to add custom tools to the "Open in..." menu.
> It'd be great to change the default branch used for creating new workspaces. Yeah you can actually change this now! If you click the repo name you can make changes to the "setup script". If you added `git checkout -b "branch name"` it would run that on every new workspace instance.
orig_branch=$(git branch --show-current) && git checkout dev && git pull && git branch -D "$orig_branch" && git checkout -b "$orig_branch"