Skip to content

Commit 66f009d

Browse files
committed
docs: add note on locating password file
1 parent 4b6c992 commit 66f009d

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,15 @@ Create an account via `/signup/git`. This stores the password hash under
135135
`$LOCAL_GIT_PATH/<sha256(username)>/.password` and creates the repository. Log in
136136
later via `/login/git` using the same credentials. Passwords can be updated with
137137
the provider's SetPassword method.
138+
139+
To locate the file, compute the SHA-256 of your username and look for the
140+
corresponding directory. For example:
141+
142+
```bash
143+
echo -n alice | sha256sum
144+
```
145+
146+
The output hash forms the path `$LOCAL_GIT_PATH/<hash>/.password`.
138147
Favicons are cached on disk under `/data/favicons` by default. Set
139148
`FAVICON_CACHE_DIR` to an empty string to disable disk caching.
140149
You can also mount a config file and env file:

0 commit comments

Comments
 (0)