mirror of
https://github.com/nextcloud/documentation.git
synced 2025-07-21 23:46:31 +00:00
make build/get-server-sources.sh make fetch at --depth 1
Signed-off-by: Private Maker <privatemaker@posteo.net>
This commit is contained in:
@ -13,9 +13,9 @@ printf "\n"
|
||||
if [ -d server/.git ]; then
|
||||
cd server
|
||||
git remote set-branches --add origin $NC_BRANCH
|
||||
git fetch
|
||||
git fetch --depth 1
|
||||
git checkout $NC_BRANCH
|
||||
git reset --hard origin/$NC_BRANCH
|
||||
else
|
||||
git clone https://github.com/nextcloud/server server --depth 1 --branch $NC_BRANCH
|
||||
git clone https://github.com/nextcloud/server server --depth 1 --single-branch --branch $NC_BRANCH
|
||||
fi;
|
||||
|
Reference in New Issue
Block a user