Don't actually care why you might.
I did it because it's a better name.
Fossil uses trunk and I'd use fossil if I could get away with it.
There is a difference between motive and opportunity.
These scripts are just means. Do what thou wilt.
git checkout master | |
git branch -m master trunk | |
git fetch | |
git branch --unset-upstream | |
git branch -u origin/trunk | |
git symbolic-ref refs/remotes/origin/HEAD refs/remotes/origin/trunk |
# Configure git to use trunk as default branch for new repositories | |
# requires git >= 2.28 | |
git config --global init.defaultBranch trunk |
git checkout master | |
git branch -m master trunk | |
git push -u origin trunk |
Don't actually care why you might.
I did it because it's a better name.
Fossil uses trunk and I'd use fossil if I could get away with it.
There is a difference between motive and opportunity.
These scripts are just means. Do what thou wilt.