summaryrefslogtreecommitdiffstatshomepage
path: root/docs/auth.md
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2026-10-15 10:36:26 +0500
committerEgor Tensin <egor@tensin.name>2026-10-15 10:36:26 +0500
commit2592e91b34aa5c3c820e1b3007d7fe09393a6fdd (patch)
tree75f7ad3fcc0f272d9ecff25fe4656346acba59c5 /docs/auth.md
parentv9.1.0 (diff)
downloadcgitize-2592e91b34aa5c3c820e1b3007d7fe09393a6fdd.tar.gz
cgitize-2592e91b34aa5c3c820e1b3007d7fe09393a6fdd.zip
docs: update
Diffstat (limited to 'docs/auth.md')
-rw-r--r--docs/auth.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/auth.md b/docs/auth.md
index e6ecccc..d41648c 100644
--- a/docs/auth.md
+++ b/docs/auth.md
@@ -42,7 +42,7 @@ URL to include the access token.
Eventually, the option I settled on is to
-1. `chmod 0600 ~/.gitconfig`.
-2. Append the section to ~/.gitconfig from Python (_not_ by using `git
- config`).
-3. Undo everything once we're done.
+1. Create a temporary file only readable by the current user.
+2. Write the required settings to it from Python (_not_ by using `git config`).
+3. Use it w/ `git` by setting `GIT_CONFIG_GLOBAL`.
+3. Delete it when we're done.