summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/common/gt12
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