git password
Jeremy Huddleston Sequoia
jeremyhu at apple.com
Sat Oct 21 06:04:48 UTC 2017
Note that credential.helper=osxkeychain is the default when using git provided by Xcode. If you recently installed the git project in MacPorts (or elsewhere), that might explain why you're now entering your password.
> On Oct 20, 2017, at 20:10, Joshua Root <jmr at macports.org> wrote:
>
> On 2017-10-21 08:00 , Craig Treleaven wrote:
>> Hi:
>> Lately, I have to enter my github username and password every time I commit; git used to just remember these. I suppose it is in a hidden config file somewhere but I don’t know where.
>> Could some kind soul please give me directions in suitably small words for someone of limited git understanding? ;)
>
> You want git installed with the credential_osxkeychain variant, which is default. Then you want this in your git config:
>
> [credential]
> helper = osxkeychain
>
> Then it should Just Work (at most you might get a Keychain unlock dialog).
>
> - Josh
More information about the macports-dev
mailing list