From 3bd8fae29b65fd2bcdefa79388d2d6ab5412c618 Mon Sep 17 00:00:00 2001 From: Kadi Kraman Date: Thu, 9 Jun 2016 09:56:45 +0100 Subject: [PATCH] Remove --no-run-if-empty flag --- README.md | 2 +- tips.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 582c32d..f252c9c 100644 --- a/README.md +++ b/README.md @@ -177,7 +177,7 @@ git checkout - ## Remove branches that have already been merged with master ```sh -git branch --merged master | grep -v '^\*' | xargs --no-run-if-empty -n 1 git branch -d +git branch --merged master | grep -v '^\*' | xargs -n 1 git branch -d ``` ## List all branches and their upstreams, as well as last commit on branch diff --git a/tips.json b/tips.json index 6f90fca..01f8c34 100644 --- a/tips.json +++ b/tips.json @@ -36,7 +36,7 @@ "tip": "git checkout -" }, { "title": "Remove branches that have already been merged with master", - "tip": "git branch --merged master | grep -v '^\\*' | xargs --no-run-if-empty -n 1 git branch -d" + "tip": "git branch --merged master | grep -v '^\\*' | xargs -n 1 git branch -d" }, { "title": "List all branches and their upstreams, as well as last commit on branch", "tip": "git branch -vv"