[MERGED] osmo-ci[master]: contrib/jenkins.sh: rather git checkout -f instead of pull

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Tue Nov 28 04:45:02 UTC 2017


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 <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr at sysmocom.de>



More information about the gerrit-log mailing list