config functionality extended

This commit is contained in:
2026-08-13 17:40:48 +02:00
parent 6b027534b9
commit 12788edc7b
3 changed files with 82 additions and 40 deletions
+4
View File
@@ -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")
```