Pull rather than fetch
This commit is contained in:
parent
a2639310b0
commit
ecd26c0308
|
@ -12,8 +12,8 @@ BUILD_DIR=".build"
|
||||||
mkdir -p $BUILD_DIR
|
mkdir -p $BUILD_DIR
|
||||||
pushd $BUILD_DIR
|
pushd $BUILD_DIR
|
||||||
cp -R ../.git .
|
cp -R ../.git .
|
||||||
git fetch
|
|
||||||
git checkout master || git checkout --orphan master
|
git checkout master || git checkout --orphan master
|
||||||
|
git pull
|
||||||
popd
|
popd
|
||||||
rm -rf ${BUILD_DIR}/**/* || exit 0
|
rm -rf ${BUILD_DIR}/**/* || exit 0
|
||||||
|
|
||||||
|
|
Reference in a new issue