/dev/null cares about branch we want to exist existing, no matter how fatal

This commit is contained in:
Aminda Suomalainen 2024-08-12 10:46:20 +03:00
parent 33e37d6f39
commit c09b929a0a
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
3 changed files with 3 additions and 3 deletions

View File

@ -46,7 +46,7 @@ if [ -d "$SHELL_THINGS_REPO" ]; then
cd $SHELL_THINGS_REPO cd $SHELL_THINGS_REPO
git remote set-url origin https://codeberg.org/Aminda/shell-things.git git remote set-url origin https://codeberg.org/Aminda/shell-things.git
git fetch --all git fetch --all
git checkout -b cxefa origin/cxefa git checkout -b cxefa origin/cxefa > /dev/null 2>&1
git pull git pull
git submodule update --init git submodule update --init
git config --global gpg.ssh.allowedSignersFile "$SHELL_THINGS_REPO/submodules/ssh-allowed_signers/allowed_signers" git config --global gpg.ssh.allowedSignersFile "$SHELL_THINGS_REPO/submodules/ssh-allowed_signers/allowed_signers"

View File

@ -749,7 +749,7 @@ function shell-things {
cd $SHELL_THINGS_REPO cd $SHELL_THINGS_REPO
git remote set-url origin https://codeberg.org/Aminda/shell-things.git git remote set-url origin https://codeberg.org/Aminda/shell-things.git
git fetch --all git fetch --all
git checkout -b cxefa origin/cxefa git checkout -b cxefa origin/cxefa > /dev/null 2>&1
git pull git pull
echo "git config --global gpg.ssh.allowedSignersFile ~/src/codeberg.org/Aminda/ssh-allowed_signers/allowed_signers" echo "git config --global gpg.ssh.allowedSignersFile ~/src/codeberg.org/Aminda/ssh-allowed_signers/allowed_signers"
git verify-commit HEAD || exit 1 git verify-commit HEAD || exit 1

View File

@ -735,7 +735,7 @@ function shell-things {
cd $SHELL_THINGS_REPO cd $SHELL_THINGS_REPO
git remote set-url origin https://codeberg.org/Aminda/shell-things.git git remote set-url origin https://codeberg.org/Aminda/shell-things.git
git fetch --all git fetch --all
git checkout -b cxefa origin/cxefa git checkout -b cxefa origin/cxefa > /dev/null 2>&1
git pull git pull
echo "git config --global gpg.ssh.allowedSignersFile ~/src/codeberg.org/Aminda/ssh-allowed_signers/allowed_signers" echo "git config --global gpg.ssh.allowedSignersFile ~/src/codeberg.org/Aminda/ssh-allowed_signers/allowed_signers"
git verify-commit HEAD || exit 1 git verify-commit HEAD || exit 1