diff --git a/src/Console/Command/Git/DeInitCommand.php b/src/Console/Command/Git/DeInitCommand.php index ea77d142..04ec1b78 100644 --- a/src/Console/Command/Git/DeInitCommand.php +++ b/src/Console/Command/Git/DeInitCommand.php @@ -22,6 +22,7 @@ class DeInitCommand extends Command */ protected static $hooks = [ 'pre-commit', + 'pre-push', 'commit-msg', ]; diff --git a/src/Console/Command/Git/InitCommand.php b/src/Console/Command/Git/InitCommand.php index 1aadf49b..57288884 100644 --- a/src/Console/Command/Git/InitCommand.php +++ b/src/Console/Command/Git/InitCommand.php @@ -27,6 +27,7 @@ class InitCommand extends Command */ public static $hooks = [ 'pre-commit', + 'pre-push', 'commit-msg', ];