mirror of
https://github.com/nextcloud/documentation.git
synced 2026-03-26 13:28:45 +07:00
Speed up the clone, because we don't need the commits, just the result
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
@@ -9,5 +9,5 @@ NC_BRANCH="${1:-master}"
|
||||
if [ -d server/.git ]; then
|
||||
cd server && git fetch && git checkout $NC_BRANCH && git reset --hard origin/$NC_BRANCH
|
||||
else
|
||||
git clone https://github.com/nextcloud/server server
|
||||
git clone https://github.com/nextcloud/server server --depth 1
|
||||
fi;
|
||||
|
||||
Reference in New Issue
Block a user