Neels Hofmeyr has submitted this change and it was merged.

Change subject: contrib/jenkins.sh: rather git checkout -f instead of pull
......................................................................


contrib/jenkins.sh: rather git checkout -f instead of pull

Change-Id: Idc672879dcb3d38978e27b90c173f0aa950c4eb1
---
M contrib/jenkins.sh
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Neels Hofmeyr: Looks good to me, approved; Verified



diff --git a/contrib/jenkins.sh b/contrib/jenkins.sh
index 3bc49f9..b161230 100755
--- a/contrib/jenkins.sh
+++ b/contrib/jenkins.sh
@@ -5,7 +5,7 @@
 git rev-parse HEAD
 git status
 
-git pull origin
+git fetch && git checkout -f -B master origin/master
 
 git rev-parse HEAD
 git status

-- 
To view, visit https://gerrit.osmocom.org/5058
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Idc672879dcb3d38978e27b90c173f0aa950c4eb1
Gerrit-PatchSet: 1
Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <[email protected]>
Gerrit-Reviewer: Neels Hofmeyr <[email protected]>

Reply via email to