From 491ee3609056e12bcc3e36ec6fd5e77bc7ebba64 Mon Sep 17 00:00:00 2001 From: elvis kahoro Date: Wed, 3 May 2023 19:14:04 -0700 Subject: [PATCH] fix: Remote local branches not in remote was stringified and thus failing --- specs/git/remove_local_branches_not_in_remote.yaml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/specs/git/remove_local_branches_not_in_remote.yaml b/specs/git/remove_local_branches_not_in_remote.yaml index bfb442e..0263dc6 100644 --- a/specs/git/remove_local_branches_not_in_remote.yaml +++ b/specs/git/remove_local_branches_not_in_remote.yaml @@ -1,13 +1,10 @@ --- name: Remove all local branches that aren't on the remote repository -command: |- - "git branch --merged >/tmp/merged-branches && \ - vi /tmp/merged-branches && \ - xargs git branch -d /tmp/merged-branches && vi /tmp/merged-branches && xargs git branch -d