logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

gcli config — Git Forge Configuration

Authors

       Nico Sonack aka. herrhotzenplotz <nsonack@herrhotzenplotz.de> and contributors.

Bugs

       When using this feature to manage SSH keys on Github be aware that you need the  “read:public_key”  scope
       enabled on your access token. You will receive HTTP 404 errors otherwise.

       Please report bugs via E-Mail to ~herrhotzenplotz/gcli-discuss@lists.sr.ht.

       Alternatively  you  can  report  them  on  any  of  the forges linked at https://herrhotzenplotz.de/gcli.
       However, the preferred and quickest method is to use the mailing list.

gcli 2.3.0                                         2024-May-25                                    GCLI-ISSUES(1)

Description

gcli  is  used  to change the settings of the Git Forge Account. You can use it to e.g. add or delete SSH
       Public Keys used to push to forges.

Examples

       Print a list of registered SSH public keys:

             $ gcli config ssh

       Register ~/.ssh/id_rsa.pub on the default forge:

             $ gcli config ssh add \
                   -t "Key for $(hostname)" \
                   -k ~/.ssh/id_rsa.pub

Name

       gcli config — Git Forge Configuration

Options

-t, --titletitle  Set the title of the SSH Key to be added. This is a short description of the key.

       -k, --keykeypath  Path to the file containing the SSH public key.

       -i, --idid        ID of the public key to delete.

See Also

git(1), gcli(1)

Subcommands

ssh          List SSH public keys for the current user.

       sshadd      Add an SSH public key for the current user.

       sshdelete   Delete an SSH public key for the current user.

Synopsis

gclisshgclisshadd-ttitle-kkeypathgclisshdelete-iid

See Also