mirror of
https://github.com/pezkuwichain/pezkuwi-validator-v1.0.0.git
synced 2026-04-22 01:57:57 +00:00
feat: Use shallow clone for faster and more reliable downloads
- Add --depth 1 flag to git clone commands - Reduces download size significantly - Fixes network timeout issues with large repositories - Improves user experience for slow connections
This commit is contained in:
@@ -216,7 +216,7 @@ setup_sdk() {
|
||||
git pull origin main || git pull origin master
|
||||
else
|
||||
echo "Cloning pezkuwi-sdk from GitHub..."
|
||||
git clone https://github.com/pezkuwichain/pezkuwi-sdk.git
|
||||
git clone --depth 1 https://github.com/pezkuwichain/pezkuwi-sdk.git
|
||||
cd pezkuwi-sdk
|
||||
fi
|
||||
|
||||
@@ -243,7 +243,7 @@ setup_frontend() {
|
||||
else
|
||||
echo "Cloning DKSweb from GitHub..."
|
||||
# TODO: Replace with actual repository URL
|
||||
git clone https://github.com/pezkuwichain/DKSweb.git
|
||||
git clone --depth 1 https://github.com/pezkuwichain/DKSweb.git
|
||||
cd DKSweb
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user