I'd like to rename my trunk. I've already created 3 stacks off this. Any nice way?
Atlas Wegman
01/18/2024, 9:12 PM
The trunk/stacks have not been submitted to GitHub yet - if that helps.
Atlas Wegman
01/22/2024, 3:51 PM
Like any thoughts on this, if people here know.
j
Jacob Gold
01/22/2024, 3:55 PM
Can you give more context on why you’d like to do this? The trunk branch is meant to be the shared/mainline that stacks merge into (eg main) — not a branch that represents a PR.
You can change your local trunk with
I see - best way is probably to rename with git, then change your trunk with init. You will need to re-track any branches based on the trunk branch. There may be other gotchas here as this isn’t a workflow we’ve designed for, so tread with caution.