Skip to content

Commit

Permalink
preserve branches on submodule update
Browse files Browse the repository at this point in the history
  • Loading branch information
woodser committed Sep 14, 2024
1 parent 58fca1b commit 634dcb3
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions bin/update_submodules.sh
Original file line number Diff line number Diff line change
@@ -1,15 +1,4 @@
#!/usr/bin/env bash

# initialize submodules recursively
git submodule update --init --recursive

# update monero-cpp
cd ./external/monero-cpp
git checkout master
git pull --ff-only origin master

# update monero-project
cd ./external/monero-project
git checkout master
git pull --ff-only origin master
cd ../../../../
git submodule update --init --recursive

0 comments on commit 634dcb3

Please sign in to comment.