From b8218562a53cb0b8a89a9e59ca60e6d469a42255 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Thu, 3 Nov 2016 10:43:41 +0100 Subject: [PATCH] Fix branch checkout failing --- windows/build_insider.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/windows/build_insider.sh b/windows/build_insider.sh index 42b4432f..d5feb133 100644 --- a/windows/build_insider.sh +++ b/windows/build_insider.sh @@ -10,11 +10,10 @@ if [[ ! -d $DOTFILES_PATH ]]; then fi cd "$DOTFILES_PATH" -git checkout $branch - git remote set-url origin https://github.com/cyplo/dotfiles.git +git fetch -p +git checkout $branch git pull - git remote set-url origin git@github.com:cyplo/dotfiles.git # might fail on CI where there are no secret keys set +e