Skip to content

Commit 5fe8fc7

Browse files
authored
Add warning about git credentials storage in clear text (#647)
1 parent 8efb806 commit 5fe8fc7

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

source/WorkingPractices/gh_authorisation.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,12 @@ git to use it:
232232
chmod 0600 ~/.git-credentials
233233
git config --global credential.helper 'store --file ~/.git-credentials'
234234
235+
.. warning::
236+
Beware that this setup will store all credentials in clear text, including
237+
passwords that you might use for other git-based services in the future.
238+
See https://git-scm.com/doc/credential-helpers for further details and
239+
other options.
240+
235241
Next, `create a Classic Token
236242
<https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens#creating-a-personal-access-token-classic>`_.
237243
To read from or write to a repository, ensure your token has at least the

0 commit comments

Comments
 (0)