From 714feda2253fb570a5103257d34566c56a958f02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christer=20War=C3=A9n?= Date: Sat, 23 Nov 2024 07:06:57 +0200 Subject: [PATCH] Hide git command output from stdout in Infra command --- src/commands/infra.sh | 2 +- wx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/commands/infra.sh b/src/commands/infra.sh index e1abbd0..b7b07de 100644 --- a/src/commands/infra.sh +++ b/src/commands/infra.sh @@ -17,7 +17,7 @@ wx-infra(){ else INFRA_PATH="$HOME/.warengroup/infra" mkdir -p "$INFRA_PATH" &> /dev/null - git clone ssh://git@git.waren.io:2222/warengroup-private/infra.git --config core.sshCommand="ssh -i $HOME/.ssh/keys/warengroup-legacy -o ProxyJump=none" "$INFRA_PATH" + git clone ssh://git@git.waren.io:2222/warengroup-private/infra.git --config core.sshCommand="ssh -i $HOME/.ssh/keys/warengroup-legacy -o ProxyJump=none" "$INFRA_PATH" &> /dev/null fi fi diff --git a/wx b/wx index f38a93b..c195db6 100755 --- a/wx +++ b/wx @@ -150,7 +150,7 @@ wx-infra(){ else INFRA_PATH="$HOME/.warengroup/infra" mkdir -p "$INFRA_PATH" &> /dev/null - git clone ssh://git@git.waren.io:2222/warengroup-private/infra.git --config core.sshCommand="ssh -i $HOME/.ssh/keys/warengroup-legacy -o ProxyJump=none" "$INFRA_PATH" + git clone ssh://git@git.waren.io:2222/warengroup-private/infra.git --config core.sshCommand="ssh -i $HOME/.ssh/keys/warengroup-legacy -o ProxyJump=none" "$INFRA_PATH" &> /dev/null fi fi