GCLI-ISSUES(1)
β¨ GCLI-ISSUES(1) β¨
bestie you have FOUND it β this is a page from the General Commands Manual, and it's the one about gcli config, aka the lil button that changes the settings on your Git Forge Account. π
πΈ NAME πΈ
gcli config β Git Forge Configuration. that's it, that's the vibe. configuration of the forge, the git kind. π
π¦ SYNOPSIS π¦
no cap, here's exactly how you call it:
gcli config ssh
gcli config ssh add -t title -k keypath
gcli config ssh delete -i id
three shapes, three moods. pick your main character moment. β¨
π DESCRIPTION π
okay so gcli config is literally the settings panel for your Git Forge Account. you use it to change stuff β like, for example, adding or deleting the SSH public keys you use to push to forges. π«Ά
it's giving "keychain management but make it fashion". π₯
π OPTIONS π
here are the flags, all of them, no skips:
-t,--titletitle β sets the title of the SSH key you're about to add. it's a lil short description of the key, like a name tag but for crypto. π·οΈ-k,--keykey-path β the path to the file that holds your SSH public key. yes, the actual file. the real one.-i,--idid β the ID of the public key you want to delete. bye bye key π
π SUBCOMMANDS π
sshβ lists the SSH public keys for the current user. a whole lil show-and-tell. πssh addβ adds an SSH public key for the current user. new key, who dis. βssh deleteβ deletes an SSH public key for the current user. it's over bestie. π₯
π§ EXAMPLES π§
print a list of registered SSH public keys
$ gcli config ssh
look at them. all lined up. iconic. π
register ~/.ssh/id_rsa.pub on the default forge
$ gcli config ssh add \
-t "Key for $(hostname)" \
-k ~/.ssh/id_rsa.pub
note the \ line continuation and the $(hostname) command substitution β we love a shell that does the work for us. π
π₯ SEE ALSO π₯
go read those too, you know you want to. π
π AUTHORS π
Nico Sonack aka. herrhotzenplotz <nsonack@herrhotzenplotz.de> and contributors. π«Ά thank you for your service, legend.
π BUGS π
okay so this is the important part, listen up bestie:
when you use this feature to manage SSH keys on GitHub, be aware that you need the "read:public_key" scope enabled on your access token. otherwise you will receive HTTP 404 errors. yes fr fr, 404. the most gaslighting error code. π
Please report bugs via E-Mail to https://lists.sr.ht/~herrhotzenplotz/gcli-discuss.
Alternatively you can report them on any of the forges linked at https://sr.ht/~herrhotzenplotz/gcli. However, the preferred and quickest method is to use the mailing list. π
and that's the whole page, bestie. this was gcli version 2.13.0, dated 05-Aug-2026, and it lives in the GCLI-ISSUES(1) manual page. slay, go push something. π
β¨
π¦ where this page comes from
- nixpkgs unstable: gcli 2.13.0
- ubuntu stonking: gcli 2.13.0-2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms