Ihar Hancharenka a8841a287f m
2025-03-12 15:15:48 +03:00

21 строка
938 B
Plaintext

https://docs.github.com/en/copilot/using-github-copilot
https://docs.github.com/en/copilot/managing-copilot/configure-personal-settings/configuring-github-copilot-in-the-cli
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