3 ms·
Maybe this git-config setting will do what you need? receive.denyNonFastForwards "If set to true, git-receive-pack will deny a ref update which is not
by rav 6y ago
Maybe this git-config setting will do what you need?
receive.denyNonFastForwards
"If set to true, git-receive-pack will deny a ref update which is not a fast-forward. Use this to prevent such an update via a push, even if that push is forced. This configuration variable is set when initializing a shared repository."