From: Nicolas Boisselier Date: Sat, 3 Sep 2016 17:57:54 +0000 (+0100) Subject: test X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=f522de72874e097889b771b212103b6d928d6633;p=nb.git test --- diff --git a/etc/profile.d/nb.sh b/etc/profile.d/nb.sh index 35e2a339..840094f0 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 | sed 's/^/ /' + 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 cd "$pwd" }