diff options
| author | Raymaekers Luca <luca@spacehb.net> | 2025-07-13 13:52:36 +0200 |
|---|---|---|
| committer | Raymaekers Luca <luca@spacehb.net> | 2025-07-13 13:52:36 +0200 |
| commit | 845f60c6607ab8e7f306236f245d2ff39a0f6da9 (patch) | |
| tree | c960a3e49c0ef1d51632f6a0f5aa96d514eae17f /bin | |
| parent | ed31fd1c8cb0278098efe5e198a045beea64e5d9 (diff) | |
checkpoint
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/common/gt | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/bin/common/gt b/bin/common/gt index c466be1..33d58fc 100755 --- a/bin/common/gt +++ b/bin/common/gt @@ -93,10 +93,10 @@ while getopts ":a:c:f:dlsheu" opt; do list_repos | parallel 'cd {}; cd "$(git rev-parse --show-toplevel || printf '\''.\\n'\'')" - git pull --ff > /dev/null + git pull --ff > /dev/null 2>&1 git add . - git commit --all -m "checkpoint" > /dev/null - git push 2> /dev/null + git commit --all -m "checkpoint" > /dev/null 2>&1 + git push > /dev/null 2>&1 printf '\''{}: done.\n'\'' ' else @@ -105,10 +105,10 @@ while getopts ":a:c:f:dlsheu" opt; do ( cd "$proj" cd "$(git rev-parse --show-toplevel || printf '.\n')" - git pull --ff > /dev/null + git pull --ff > /dev/null 2>&1 git add . - git commit --all -m "checkpoint" > /dev/null - git push 2> /dev/null + git commit --all -m "checkpoint" > /dev/null 2>&1 + git push > /dev/null 2>&1 printf '%s: done.\n' "$proj" ) done |
