mirror of
https://github.com/nextcloud/documentation.git
synced 2025-10-26 11:18:02 +00:00
Merge pull request #756 from nextcloud/bugfix/noid/checkout-without-history
Speed up the clone, because we don't need the commits, just the result
This commit is contained in:
commit
d86a3cefa8
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user