I used to have master only. If CI fails or I find a typo, I'll force push. I keep getting complaints regarding the force pushes.
Now I have main and develop. I use develop just like how I used master in the past, and push to main when I'm sure I don't need force push. main has a branch protection rule that requires CI passing and forbids force pushes.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I used to have
master
only. If CI fails or I find a typo, I'll force push. I keep getting complaints regarding the force pushes.Now I have
main
anddevelop
. I usedevelop
just like how I usedmaster
in the past, and push tomain
when I'm sure I don't need force push.main
has a branch protection rule that requires CI passing and forbids force pushes.