Skip to content

Commit d577e88

Browse files
rm branch/depth on clone
1 parent 6650624 commit d577e88

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

docs/git.mdx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ const sandbox = await Sandbox.create()
1313

1414
await sandbox.git.clone('https://git.example.com/org/repo.git', {
1515
path: '/workspace/repo',
16-
branch: 'main',
17-
depth: 1,
1816
})
1917
```
2018
```python Python
@@ -23,8 +21,6 @@ sandbox = Sandbox.create()
2321
sandbox.git.clone(
2422
'https://git.example.com/org/repo.git',
2523
path='/workspace/repo',
26-
branch='main',
27-
depth=1,
2824
)
2925
```
3026
</CodeGroup>

0 commit comments

Comments
 (0)