git password (1)

NAME

git-password - put git credentials architecture to other uses

SYNOPSIS

git password get <url>
git password set <url>
git password forget <url>
git password ensure-set <url>

DESCRIPTION

This command allows to put git credentials architecture to any use where the password is expected as the output of a command or to simply set a password to be used later.

The available subcommands are:

get
display the password for the given url
set
set the password for the given url
forget
forget the currently recorded password for the given url
ensure-set
ask for the password for the given url if it is not yet set

This command is of little use without a credential-helper set. See gitcredentials(7) for more information on how to set a credential helper.

If those commands can be called out of a terminal, an askpass command, such that ssh-askpass(1), should be defined (for instance by setting the GIT_ASKPASS environment variable, see gitcredentials(7)).

SEE ALSO

gitcredentials(7), ssh-askpass(1)