config functionality extended
This commit is contained in:
@@ -55,10 +55,14 @@ See the Scribble documentation for command-specific behavior and return values.
|
||||
`git config` has a small Racket-oriented interface:
|
||||
|
||||
```racket
|
||||
(git 'config '--all)
|
||||
(git 'config 'get '--all)
|
||||
(git 'config '--global 'get '--all)
|
||||
(git 'config 'get '--global "user.email")
|
||||
(git 'config 'get '--all "credential.helper")
|
||||
(git 'config 'get "credential.helper")
|
||||
(git 'config 'set! "user.email" "hans@example.invalid")
|
||||
(git 'config '--global 'set! "user.email" "hans@example.invalid")
|
||||
(git 'config 'set! '--global "user.email" "hans@example.invalid")
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user