gh copilot
Interact with GitHub Copilot. Note: This command is deprecated, use
copilotinstead. More information: https://github.com/github/gh-copilot#usage.
- Suggest a command, given a description:
gh copilot suggest ""
- Suggest a Git command:
gh copilot suggest git ""
- Explain a command:
gh copilot explain ""
- Generate shell-specific aliases for Bash:
echo 'eval "$(gh copilot alias -- bash)"' >>~/.bashrc
- Generate shell-specific aliases for Zsh:
echo 'eval "$(gh copilot alias -- zsh)"' >>~/.zshrc
- Configure options:
gh copilot config
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
