Linux Terminal Glossary
›
GitHub Copilot
GitHub Copilot
78 commands
gh extension install github/gh-copilot
gh auth refresh -h github.com -s copilot
gh extension upgrade gh-copilot
gh copilot --version
gh copilot explain 'sudo apt-get update'
gh copilot explain 'tar -xzvf archive.tar.gz'
gh copilot explain 'awk \'NR%2==0\' file.txt'
gh copilot explain 'docker run -d -p 80:8080 --restart unless-stopped myimage'
gh copilot explain 'curl -fsSL https://example.com | bash'
gh copilot suggest 'list all running docker containers'
gh copilot suggest 'find all files larger than 100MB'
gh copilot suggest 'compress a folder excluding .git directory'
gh copilot suggest 'show top 10 processes by memory usage'
gh copilot suggest -t git 'undo last commit but keep changes staged'
gh copilot suggest -t gh 'create a pull request to main with draft status'
gh copilot suggest -t shell 'kill process listening on port 3000'
gh copilot suggest 'recursively change file permissions to 644 and directories to 755'
Tab
Escape
Alt+] (Option+] on Mac)
Alt+[ (Option+[ on Mac)
Ctrl+Enter (Cmd+Enter on Mac)
Alt+\ (Option+\ on Mac)
Ctrl+Right (partial accept — word)
Ctrl+Shift+I (Cmd+Shift+I on Mac)
Ctrl+I (Cmd+I on Mac)
/explain
/fix
/tests
/doc
/simplify
/new
@workspace
@terminal
@vscode
#file
#selection
#editor
gh copilot config
# VS Code: Copilot > Enable / Disable
# .copilotignore
# VS Code: github.copilot.enable per language
# VS Code: github.copilot.editor.enableAutoCompletions
# VS Code: github.copilot.chat.localeOverride
Ctrl+I (in VS Code terminal)
# Click Copilot sparkle icon in terminal
# Write descriptive function/variable names
# Add a comment describing what the next function does
# Keep related code in open tabs
# Provide example input/output in a comment
# Type the function signature first
# Use Copilot to generate regex patterns
# Ask Copilot Chat to review a PR diff
# Use /fix with a stack trace
# Use Copilot to translate between languages
# Ask Copilot to explain a git conflict
# Ask for performance optimization suggestions
# Use Copilot for SQL query generation
# Generate commit messages with Copilot
# Use Copilot for boilerplate elimination
# Use Copilot to write shell scripts
# Copilot on GitHub.com: press . (period) to open web editor
# Copilot PR review summaries
# Copilot Autofix for security alerts
# Copilot knowledge bases (Enterprise)
# Copilot custom instructions
gh copilot suggest --help
gh copilot explain --help
gh copilot feedback
# Check Copilot status: github.com/features/copilot
# VS Code: Developer: Show Logs > GitHub Copilot
# VS Code: GitHub Copilot: Reset Authentication
# VS Code status bar: Copilot icon
# :Copilot setup (Neovim, github/copilot.vim)
# :Copilot enable / :Copilot disable (Neovim)
# Tab to accept suggestion (Neovim copilot.vim)
# Alt+] / Alt+[ to cycle suggestions (Neovim)
# Settings > Copilot (JetBrains IDEs)
Search all 7,657 commands
instead.