From 8d0e076ee6501e583e9473eb37fef50eb4c8800d Mon Sep 17 00:00:00 2001 From: Valentin Kiselev Date: Wed, 17 Jan 2024 17:29:12 +0300 Subject: [PATCH] fix: pre push hook handling --- internal/git/repository.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/git/repository.go b/internal/git/repository.go index c1dec4b9..e782f340 100644 --- a/internal/git/repository.go +++ b/internal/git/repository.go @@ -30,7 +30,7 @@ var ( cmdAllFiles = []string{"git", "ls-files", "--cached"} cmdCreateStash = []string{"git", "stash", "create"} cmdStageFiles = []string{"git", "add"} - cmdRemotes = []string{"git", "branch", " --remotes"} + cmdRemotes = []string{"git", "branch", "--remotes"} cmdHideUnstaged = []string{"git", "checkout", "--force", "--"} )