top | item 44595860

(no title)

dgritsko | 7 months 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?

discuss

order

Charlieholtz|7 months ago

Got it! If you click the repository name in the left sidebar, you should see a field for setup script.

dgritsko|7 months 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:

orig_branch=$(git branch --show-current) && git checkout dev && git pull && git branch -D "$orig_branch" && git checkout -b "$orig_branch"

dgritsko|7 months ago

Ah, excellent - appreciate the help! I'm already getting a ton of value out of this tool, thanks for sharing!