From: Nicolas Boisselier Date: Sat, 3 Sep 2016 17:58:26 +0000 (+0100) Subject: test X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=b89b437a633b0ca125987bde783790f7e1b30453;p=nb.git test --- diff --git a/etc/profile.d/nb.sh b/etc/profile.d/nb.sh index 840094f0..d8d21226 100644 --- a/etc/profile.d/nb.sh +++ b/etc/profile.d/nb.sh @@ -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