GCLI-ISSUES(1)

πŸ“¦
version 2.13.0 Β· 5 versions
, in nixpkgs unstable, ubuntu stonking

✨ 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, --title title β€” 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, --key key-path β€” the path to the file that holds your SSH public key. yes, the actual file. the real one.
  • -i, --id id β€” 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 🧚

$ 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