Skip to content

Commit f6994d2

Browse files
config set/get changed
1 parent 16f5d00 commit f6994d2

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

docs/git.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -237,12 +237,12 @@ Set the global git author and other config values as needed.
237237
<CodeGroup>
238238
```js JavaScript & TypeScript
239239
await sandbox.git.configureUser('E2B Bot', 'bot@example.com')
240-
await sandbox.git.configSet('pull.rebase', 'false')
241-
const rebase = await sandbox.git.configGet('pull.rebase')
240+
await sandbox.git.setConfig('pull.rebase', 'false')
241+
const rebase = await sandbox.git.getConfig('pull.rebase')
242242
```
243243
```python Python
244244
sandbox.git.configure_user('E2B Bot', 'bot@example.com')
245-
sandbox.git.config_set('pull.rebase', 'false')
246-
rebase = sandbox.git.config_get('pull.rebase')
245+
sandbox.git.set_config('pull.rebase', 'false')
246+
rebase = sandbox.git.get_config('pull.rebase')
247247
```
248248
</CodeGroup>

0 commit comments

Comments
 (0)