...
Run
git branch
before you commit/push to verify you are working on the right branchThis avoids having to cherry-pick commits and such
If this mistake is made, try and correct it before it is pushed to remote
Branches
main
will be treated
...
as final
...
The main branch should be locked and only able to be changed by leadership
Please use
main
instead of “master”, “mainline”, etc for naming the base branch
...