3 ms·
If you don't like this behaviour, you can set a git repository to reject non-fast-forward pushes to it. Run: git config receive.denyNonFastForwards true T
by rlpb 15y ago
If you don't like this behaviour, you can set a git repository to reject non-fast-forward pushes to it. Run:
git config receive.denyNonFastForwards true
This will permit branches to only go in a forward direction.