From e1f02e9b20b4764115fa3c39bbe482cf5acebb9b Mon Sep 17 00:00:00 2001 From: Claudiu Cristea Date: Sun, 26 May 2024 14:27:47 +0200 Subject: [PATCH] Init/deinit pre-push --- src/Console/Command/Git/DeInitCommand.php | 1 + src/Console/Command/Git/InitCommand.php | 1 + 2 files changed, 2 insertions(+) diff --git a/src/Console/Command/Git/DeInitCommand.php b/src/Console/Command/Git/DeInitCommand.php index ea77d1426..04ec1b786 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 1aadf49bd..57288884c 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', ];