You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> Hey copilot, how can I create and publish a new Git branch?
102
-
> ```
103
-
104
-
> **Tip:** This is a simple example, but Copilot is great at providing more tailored commands that might involve loops, pattern matching, file modification, and more! Don't be afraid to ask Copilot for a suggestion. Just remember it is a suggestion and you should always verify it first to be safe.
105
-
106
-
1. Copilot probably gave us a command like the following. Rather than manually modify it, let's respond back to tell Copilot to use a particular name.
> Hey copilot, how can I create and publish a new Git branch called "accelerate-with-copilot"?
118
102
> ```
119
103
120
104
> **Tip:** If Copilot doesn't give you quite what you want, you can always continue explaining what you need. Copilot will remember the conversation history for follow-up responses.
121
105
122
-
1. Now that we are happy with the command, press the `Run` button to let Copilot run it for us. No need to copy and paste!
106
+
1. Press the `Run` button to let Copilot insert the terminal command for us. No need to copy and paste!
123
107
124
108
1. After a moment, look in the VS Code lower status bar, on the left, to see the active branch. It should now say `accelerate-with-copilot`. If so, you are all done with this step!
Copy file name to clipboardExpand all lines: .github/steps/4-copilot-on-github.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,19 +6,19 @@ Congratulations! You are finished with coding for this exercise (and VS Code). N
6
6
7
7
Typically, you would review your notes and commit messages then summarize them for your pull request description. This may take some time, especially if commit messages are inconsistent or code is not documented well. Fortunately, Copilot can consider all changes in the pull request and provide the important highlights, and with references too!
8
8
9
-
> [!NOTE]
9
+
> [!NOTE]
10
10
> This feature is not available in **GitHub Copilot Free**. [[docs]](https://docs.github.com/en/enterprise-cloud@latest/copilot/using-github-copilot/using-github-copilot-for-pull-requests/creating-a-pull-request-summary-with-github-copilot)
11
11
12
12
#### Copilot code review
13
13
14
14
More eyes on our work is always useful so let's ask Copilot to do a first pass before we do a normal peer review process. Copilot is great at catching common mistakes that are fixed by simple adjustments, but please remember to use it responsibly.
15
15
16
-
> [!NOTE]
16
+
> [!NOTE]
17
17
> This feature is not available in **GitHub Copilot Free**. [[docs]](https://docs.github.com/en/copilot/using-github-copilot/code-review/using-copilot-code-review)
18
18
19
19
### :keyboard: Activity: Summarize and review a PR with Copilot
20
20
21
-
Both **Copilot pull request summaries** and **Copilot code review** have limited access, so this activity is mostly optional. If you have access, Mona will gladly check your work though! If not, you can skip the optional steps.
21
+
Both **Copilot pull request summaries** and **Copilot code review** have limited access, so this activity is mostly optional. If you have access, go ahead and try them though! If not, you can skip the optional steps.
22
22
23
23
1. In a web browser, open another tab and navigate to your exercise repository.
exercise-title: "Getting Started with GitHub Copilot"
24
24
intro-message: "Welcome to the exciting world of GitHub Copilot! 🚀 In this exercise, you'll unlock the potential of this AI-powered coding assistant to accelerate your development process. Let's dive in and have some fun exploring the future of coding together! 💻✨"
0 commit comments