Hacker News new | ask | show | jobs
by davvid 4605 days ago
If `git config receive.denyNonFastforwards true` is configured on the remote repository then this is prevented. This is the default on modern versions of Git.