We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f75e3af commit d11d9ceCopy full SHA for d11d9ce
jenkins/releaseUpdateGithub.fish
@@ -24,8 +24,9 @@ set -xg GIT_SSH_COMMAND "ssh -i ~/.ssh/id_rsa"
24
25
function updateRepository
26
set -l cid (git rev-parse HEAD)
27
+ and git reset --hard
28
and git fetch origin $GIT_BRANCH
- and git reset --hard origin $GIT_BRANCH
29
+ and git checkout -f $GIT_BRANCH
30
and git clean -fdx
31
and git reset --hard $cid
32
and echo "FORCING UPDATE $GIT_BRANCH @ " (pwd)
0 commit comments