From 2592e91b34aa5c3c820e1b3007d7fe09393a6fdd Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Thu, 15 Oct 2026 10:36:26 +0500 Subject: docs: update --- docs/auth.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'docs/auth.md') 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. -- cgit v1.3