Here's my workflow:
git checkout -b my_private_prefix/branch master
- hack hack hack
git push
- hack hack hack
git rebase -i ; git push --force
- pull request
It is OK to push --force
here, because I am the only one who works on branches with the private prefix (everyone on the team has a different prefix). My question: can I make git automatically force pushes when the current branch name starts with my private prefix?