Skip to content
moqsien edited this page Jan 21, 2024 · 2 revisions

See info below:

moqsien@moqsiendeiMac ~ % g gh -h
Github related CLIs.

Usage:
   github [command]

Aliases:
  github, gh

Available Commands:
  download        Downloads released files or source code from a github repo.
  download-dotssh Downloads .ssh files from remote repo, then deploy them.
  hosts           Modifies hosts file for github.
  proxy           Sets a proxy URI for github downloads.
  upload-dotssh   Uploads local .ssh files to remote repo after zipped with password.

Flags:
  -h, --help   help for github

Use " github [command] --help" for more information about a command.
  • Subcommands "download", "hosts", "proxy" are for accelerations your visit to github.

  • Subcommands "download-dotssh" and "upload-dotssh" will help you to synchronize your .ssh files to remote repository after encrypted by zip. Then you can use the same .ssh files on any other machine.

Note: Go config to see how to configure a remote repository.