Alexander Baier
2014-11-18 21:41:00 UTC
Hello,
I would like to use pass to supply git with login information when
accessing a remote repository (e.g. on github). I put the following
section into my ~/.gitconfig:
[core]
askpass = pass show Code/github.com
Doing 'git push' will now print
"error: cannot run 'pass show Code/github.com': No such file or
directory"
and will continue with prompting me for my username and password:
Username for 'https://github.com':
Password for 'https://***@github.com'
Does anyone know how I can tell git to use pass for retrieving my
credentials?
Regards,
I would like to use pass to supply git with login information when
accessing a remote repository (e.g. on github). I put the following
section into my ~/.gitconfig:
[core]
askpass = pass show Code/github.com
Doing 'git push' will now print
"error: cannot run 'pass show Code/github.com': No such file or
directory"
and will continue with prompting me for my username and password:
Username for 'https://github.com':
Password for 'https://***@github.com'
Does anyone know how I can tell git to use pass for retrieving my
credentials?
Regards,
--
Alexander Baier
Alexander Baier