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?
96
+
> ```
97
+
89
98
> **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.
90
99
91
100
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.
@@ -95,9 +104,12 @@ Great work! Now that we are familiar with the app and we know it works, let's as
95
104
git push -u origin {new_branch_name}
96
105
```
97
106
98
-
```text
99
-
Awesome! Thanks, Copilot! Let's use the branch name "accelerate-with-copilot".
> **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.
> @workspace Students are able to register twice for an activity.
29
+
> Where could this bug be coming from?
30
+
> ```
28
31
29
32
1. Now that we know the issue is in the `src/appy.py` file and the `signup_for_activity` method, let's follow Copilot's recommendation and go fix it (semi-manually). We'll start with a comment and let Copilot finish the correction.
30
33
@@ -87,9 +90,12 @@ In new project developments, it's often helpful to have some realistic looking f
87
90
88
91
1. Enter the following prompt text and press enter or the **Send and Dispatch** button.
89
92
90
-
```text
91
-
Add 2 more sports related activities, 2 more artistic activities, and 2 more intellectual activities.
> Add 2 more sports related activities, 2 more artistic
97
+
> activities, and 2 more intellectual activities.
98
+
> ```
93
99
94
100
1. After a moment, Copilot will directly start making changes to the code. The changes will be stylized differently to make any additions and removals easy to identify. Take a moment to inspect and then press the **Accept** button.
Copy file name to clipboardExpand all lines: .github/steps/3-copilot-edits.md
+6-3Lines changed: 6 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -37,9 +37,12 @@ In our previous steps, we used features of Copilot that require more hands-on gu
37
37
38
38
1. Ask Copilot to update our project to display the current participants of activities. Wait a moment for the edit suggestions to arrive and be applied.
39
39
40
-
```txt
41
-
Hey Copilot, can you please edit the area where activities are listed on the website to show what participants are already signed up for that activity.
0 commit comments