From f522de72874e097889b771b212103b6d928d6633 Mon Sep 17 00:00:00 2001 From: Nicolas Boisselier Date: Sat, 3 Sep 2016 18:57:54 +0100 Subject: [PATCH] test --- etc/profile.d/nb.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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" } -- 2.47.3