diff --git a/dd-ctl b/dd-ctl index b90f858..49d546f 100755 --- a/dd-ctl +++ b/dd-ctl @@ -32,10 +32,10 @@ CUSTOM_PATH=$(pwd) . ./.env update_repo(){ - git fetch && git reset --hard origin/$BRANCH + git fetch && git checkout $BRANCH git submodule update --init --recursive - cd isard-apps && git fetch && git reset --hard origin/$BRANCH && cd .. - cd isard-sso && git fetch && git reset --hard origin/$BRANCH && cd .. + cd isard-apps && git fetch && git checkout $BRANCH && cd .. + cd isard-sso && git fetch && git checkout $BRANCH && cd .. } build_compose(){