Go to file
2020-04-20 19:49:24 +08:00
git-credential-pass.ini first commit 2019-09-13 09:55:16 +08:00
git-credential-pass.py Fix: No prompt for the password, then an error #1 2020-04-09 17:54:41 +08:00
LICENSE first commit 2019-09-13 09:55:16 +08:00
README.md update helper file path in readme 2020-04-20 19:49:24 +08:00

git-credential-pass

A git credential helper to integrate with pass

Requirements

  • Python 2.7/3.7+
  • pass

Installation

Copy git-credential-pass.py into a location into a directory included in $PATH e.g. /usr/local/bin

Usage

You can set git's credential helper on a per repo basis repository using:

git config credential.helper /usr/local/bin/git-credential-pass.py

Or globally using:

git config --global credential.helper /usr/local/bin/git-credential-pass.py

Notes:

  • Only the get operation is supported
  • It will return the first set of credentials found
  • Minimal testing has been performed