]> git.nbdom.net Git - nb.git/commitdiff
test
authorNicolas Boisselier <nicolas.boisselier@gmail.com>
Sat, 3 Sep 2016 17:58:26 +0000 (18:58 +0100)
committerNicolas Boisselier <nicolas.boisselier@gmail.com>
Sat, 3 Sep 2016 17:58:26 +0000 (18:58 +0100)
etc/profile.d/nb.sh

index 840094f0263a6c209dae761032216bf98fb47513..d8d212269a80de466f1f633e52af366f2d209b3c 100644 (file)
@@ -6,7 +6,9 @@ nb_repos_commit_push() {
     cd "$i" || continue
 
     printf ">%s\n" "$i"
-    git commit --all --no-status --quiet --message "$*" && git push \
+    (
+    git commit --all --no-status --quiet --message "$*" && git push
+    ) \
       | grep -vE '^(On branch master|Your branch is up-to-date|nothing to commit)' \
       | sed 's/^/ /'
   done