Skip to content

hchiam/learning-github-copilot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Learning GitHub Copilot (uses OpenAI Codex)

Just one of the things I'm learning. https://github.com/hchiam/learning

https://github.com/features/copilot

If you're using VSCode:

https://marketplace.visualstudio.com/items?itemName=GitHub.copilot

https://docs.github.com/en/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-visual-studio-code

Example:

  1. type a function header, see 1 suggestion

  2. to see alternate suggestions:

    • Option + ]
    • Option + [
    • Alt + ]
    • Alt + [
  3. Tab to accept suggestion

GitHub Copilot CLI

You can see what you or your organization have enabled in https://github.com/settings/copilot/features

To install: https://docs.github.com/en/copilot/how-tos/set-up/install-copilot-cli

For how to use: https://docs.github.com/en/copilot/how-tos/use-copilot-agents/use-copilot-cli

# note that GitHub Copilot is still experimental for Windows and also was in public preview September (and still is as of this writing, Oct 2025)
npm install -g @github/copilot
copilot help permissions
copilot --version
copilot
# when I run the copilot command, it currently asks for permission to execute files in the current folder and automatically execute bash commands on my machine, for the first time you run the GitHub Copilot CLI in a new folder.
# hit / to see a list of commands that can autocomplete or use arrow keys to scroll through
# hit @ to see a list of files that can autocomplete or use arrow keys to scroll through
# just like you can in a regular CLI, you can hit the up arrow key to see previous commands and hit Enter to re-run

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published