Skip to content
Snippets Groups Projects
Commit 9c60afa1 authored by aviralg's avatar aviralg
Browse files

The script now checkouts the correct branch

parent 087fd797
No related branches found
No related tags found
No related merge requests found
...@@ -3,4 +3,4 @@ ...@@ -3,4 +3,4 @@
# This script updates the repository and its subrepositories, recursively. # This script updates the repository and its subrepositories, recursively.
git submodule update --init git submodule update --init
git submodule foreach '[ "$path" = "moogli" ] && branch=geometry || branch=master; git pull origin $branch' git submodule foreach '[ "$path" = "moogli" ] && branch=geometry || branch=master; git pull origin $branch; git checkout $branch'
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