mirror of
https://github.com/zama-ai/tfhe-rs.git
synced 2026-01-08 06:13:58 -05:00
fix(backward): fix backward data clone script with multiple branches
This commit is contained in:
committed by
Nicolas Sarlin
parent
0d49d19a13
commit
5183c1fb3e
@@ -14,7 +14,7 @@ if ! git lfs env 2>/dev/null >/dev/null; then
|
||||
fi
|
||||
|
||||
if [ -d $3 ]; then
|
||||
cd $3 && git fetch --depth 1 && git reset --hard origin/$2 && git clean -dfx
|
||||
cd $3 && git remote set-branches origin '*' && git fetch --depth 1 && git reset --hard origin/$2 && git clean -dfx
|
||||
|
||||
else
|
||||
git clone $1 -b $2 --depth 1 $3
|
||||
|
||||
Reference in New Issue
Block a user