Ihar Hancharenka 9b2ee73f52 m
2025-02-08 23:22:40 +03:00

18 строки
763 B
Plaintext

https://github.com/github/gh-copilot
gh auth login --web
The value of the GH_TOKEN environment variable is being used for authentication.
To have GitHub CLI store credentials instead, first clear the value from the environment.
gh auth login --web -h github.com
https://docs.github.com/en/copilot/using-github-copilot/using-github-copilot-in-the-command-line
gh extension search gh-copilot
gh extension install github/gh-copilot
gh extension upgrade gh-copilot
https://docs.github.com/en/copilot/managing-copilot/configure-personal-settings/configuring-github-copilot-in-the-cli#setting-up-aliases
gh copilot alias
gh copilot alias -- zsh
echo 'eval "$(gh copilot alias -- zsh)"' >> ~/.zshrc
ghcs
suggest
ghce