Description

git-token stores or revokes personal access tokens (PATs) for a given URL. For more information about personal access tokens, please see the Skara CLI documentation.

Usage

$ git token -h
usage: git-token [options] <store|revoke> <URI>
            --verbose   Turn on verbose output
            --debug     Turn on debugging output
            --version   Print the version of this tool
        -h, --help      Show this help text

Examples

Store a personal access token for github.com:

$ git token store https://github.com
Username for 'https://github.com': edvbld
Password for 'https://edvbld@github.com':

When prompted for password, do not input your password GitHub, input your personal access token!

Source

See GitToken.java.

  • No labels