From 78bb493f316dda74ad3367dce33de3bfcc578afa Mon Sep 17 00:00:00 2001
From: laurentheirendt <laurent.heirendt@uni.lu>
Date: Tue, 12 Jan 2021 11:32:41 +0100
Subject: [PATCH] Revert "co previous branch"

This reverts commit 78e8a9eee67e37dcea9bb803515e40d1daeb5366.
---
 .gitlab-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f5aefea1..04ba19fd 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -55,7 +55,7 @@ save:commitIndex:
     - git checkout -b tmpBranch || true
     - git add --all || true
     - git commit -m "Update index" || true
-    - git checkout - || true
+    - git checkout $CI_COMMIT_REF_NAME || true
     - git pull origin $CI_COMMIT_REF_NAME
     - git merge tmpBranch --ff || true
     - git push origin $CI_COMMIT_REF_NAME || true
-- 
GitLab