From f521cc2adf902d4daf9be9e858da3533ccc03f4b Mon Sep 17 00:00:00 2001 From: Lexi Stelter Date: Thu, 27 Aug 2020 19:22:35 +0200 Subject: [PATCH] git-back-to-the-future: fail on error --- bin/git-back-to-the-future | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/git-back-to-the-future b/bin/git-back-to-the-future index cc2ea03..e35e6c6 100755 --- a/bin/git-back-to-the-future +++ b/bin/git-back-to-the-future @@ -1,6 +1,6 @@ #!/bin/sh -git switch master -git fetch --prune +git switch master && \ +git fetch --prune && \ git pull