Git push –force from IntelliJ IDEA

Since IntelliJ IDEA 14 update it’s possible to enable a checkbox for exactly that, you first have to enable “Allow force push” in Settings->Version Control->Git.

2018 Update: To allow force push on master branch, look for “protected branches” in Git settings -> Then delete value “master”.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)