Skip to content

Commit eacaf38

Browse files
author
Keerthan Mala
committed
fix(git-push):handle the errors during git push
1 parent e53cd9c commit eacaf38

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

pkg/git/git.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ import (
2727
//
2828
// - .GitHome: the path to Git's home directory
2929
const preReceiveHookTplStr = `#!/bin/bash
30+
set -eo pipefail
3031
strip_remote_prefix() {
3132
stdbuf -i0 -o0 -e0 sed "s/^/"$'\e[1G'"/"
3233
}

0 commit comments

Comments
 (0)