fix(user/malte): silence note sync

This commit is contained in:
Malte Tammena 2024-03-11 19:11:07 +01:00
parent 6194cad27d
commit ac6db34e1a

View file

@ -24,7 +24,7 @@ if [ -z "${1+x}" ]; then
git add "$year.md"
git commit -m "Auto Commit $(date +"%F %R")"
export GIT_SSH_COMMAND="ssh -o BatchMode=yes"
(git pull --rebase && git push) || (echo "Sync failed" && exit 4) &
(git pull --rebase >/dev/null 2>&1 && git push >/dev/null 2>&1) || (echo "Sync failed" && exit 4) &
fi
# Exit
popd || exit 2