From the course: GitHub Copilot Cert Prep by Microsoft Press
Unlock this course with a free trial
Join today to access over 24,900 courses taught by industry experts.
Identify common commands and their use cases when working with GitHub Copilot in the CLI - Github Copilot Tutorial
From the course: GitHub Copilot Cert Prep by Microsoft Press
Identify common commands and their use cases when working with GitHub Copilot in the CLI
- [Instructor] Yeah, well, I've gone over them, but first I want to bring out my whiteboard tool here. And don't get confused. The exam objective here is talking about GitHub Copilot in the CLI. This is a marketing thing, and I'm going to rant just a little, if you don't mind. This is the terminal extension to the GitHub CLI. Now you'll find that out in the world there are other GitHub Copilot CLIs. And particularly there's a Node package called GitHub Copilot CLI. Yeah, it's confusing. Just wanted to say that. So gh copilot suggest converts your natural language. You pass in your prompt using, I use single or double quotes as your string delimiter. And it's as simple as that. Explain will break down and explain a potentially complex command before it's executed. That's actually a good use case. You might have received a command and just want a little more assurance. What does this actually do before you hit go? I can definitely see that. We're automating DevOps, we're streamlining…