Commit fae74aae authored by Jeremy Soller's avatar Jeremy Soller

Make sure git is on the right branch when running fetch

parent ec4b922e
......@@ -119,6 +119,10 @@ function op {
git remote add upstream "$GIT_UPSTREAM"
git fetch upstream
if [ -n "$BRANCH" ]
git checkout "$BRANCH"
git pull
git submodule sync --recursive
git submodule update --init --recursive
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment