Skip to content
Snippets Groups Projects
Commit 643ff9f7 authored by Christopher's avatar Christopher
Browse files

Fixed order of self-update commands

The desirable branch might not be avaiable in the local repository.
Hence, we need to pull first.
parent 90fd5593
No related branches found
No related tags found
No related merge requests found
...@@ -4,5 +4,5 @@ BRANCH="ws14" ...@@ -4,5 +4,5 @@ BRANCH="ws14"
[ -e ".git" ] || exit 1 [ -e ".git" ] || exit 1
[ -z "$1" ] || BRANCH="$1" [ -z "$1" ] || BRANCH="$1"
git checkout "$BRANCH"
git pull git pull
git checkout "$BRANCH"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment