force update
This commit is contained in:
parent
885c02543f
commit
47b9e8e709
|
|
@ -34,7 +34,7 @@ ssh $SERVER \
|
||||||
cd "$STAGING_DIR"
|
cd "$STAGING_DIR"
|
||||||
git fetch origin
|
git fetch origin
|
||||||
git checkout $BRANCH
|
git checkout $BRANCH
|
||||||
git pull origin $BRANCH
|
git reset --hard origin/$BRANCH
|
||||||
else
|
else
|
||||||
echo "Cloning repository $REPO to $STAGING_DIR..."
|
echo "Cloning repository $REPO to $STAGING_DIR..."
|
||||||
git clone -b $BRANCH $REPO $STAGING_DIR
|
git clone -b $BRANCH $REPO $STAGING_DIR
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue