Re:Git is too hard
by jorams on Tuesday November 17, 2020 @11:28AM
(#25125639)
I'm not sure I see your point. The entire reason `git push --mirror` exists is to turn the remote end into a mirror of the local end. By definition that's a destructive operation. What would it do without a further --force?
If you just want to push all branches or tags you should use --all or --tags.
Re:Git is too hard
by hvidgaard on Wednesday November 18, 2020 @01:46AM
(#25133864)
Because you normally cannot make remote destructive changes without the --force. Unless you know the commands that does that by default. That is bad UX.
If you just want to push all branches or tags you should use --all or --tags.