You could shut off default pushes via
git config push.default nothing
or for stronger protection on a specific remote you could break pushes to that remote entirely by e.g.
git config remote.origin.pushurl "you really didn't want to do that"
You could shut off default pushes via
git config push.default nothing
or for stronger protection on a specific remote you could break pushes to that remote entirely by e.g.
git config remote.origin.pushurl "you really didn't want to do that"