diff options
| author | Raymaekers Luca <luca@spacehb.net> | 2025-07-13 13:50:18 +0200 |
|---|---|---|
| committer | Raymaekers Luca <luca@spacehb.net> | 2025-07-13 13:50:18 +0200 |
| commit | c6bf501dc80c56ecb56963fb6c261ba9140816ac (patch) | |
| tree | 82f57573e828ace66f90db6ebe21cb0fdba0e210 /bin/common | |
| parent | 6661491528446407efdf7da7cc1cfa0731bc24d6 (diff) | |
checkpoint
Diffstat (limited to 'bin/common')
| -rwxr-xr-x | bin/common/gt | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/bin/common/gt b/bin/common/gt index 467613b..b018258 100755 --- a/bin/common/gt +++ b/bin/common/gt @@ -92,11 +92,13 @@ while getopts ":a:c:f:dlsheu" opt; do if [ "$parallel" ]; then list_repos | parallel 'cd {}; - cd "$(git rev-parse --show-toplevel || echo .)" - git pull --ff + cd "$(git rev-parse --show-toplevel || printf '\''.\\n'\'')" + git pull --ff > /dev/null git add . - git commit --all -m "checkpoint" - git push' + git commit --all -m "checkpoint" > /dev/null + git push > /dev/null + printf '\''{}: done.\\n'\'' + ' else list_repos | while read -r proj do |
