From the course: AI-Powered Development: GitHub Copilot in Visual Studio Code
Unlock this course with a free trial
Join today to access over 25,300 courses taught by industry experts.
Merge the changes
From the course: AI-Powered Development: GitHub Copilot in Visual Studio Code
Merge the changes
At this point the refactoring is done. We have a markdown document that lists everything the agent changed which we can check into source control. We can also review the chat history in the chat panel to see the decisions that were made along the way. One thing I really like here is this summary document. It's far more detailed than a typical commit message. Right now these changes live on a temporary branch inside the isolated work tree. They're not yet in our main working branch. You'll notice that there's a commit button here in the source control panel. You can use it to commit changes to that temporary branch but in most cases you won't need to because Copilot provides a simpler path. If you go look at the bottom of the chat panel it says there are three files ready to merge. Gives me a summary of the changes. I can also click here to view all the changes and when we're ready we can click the apply button to bring the changes back into the main project effectively merging the…
Contents
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
(Locked)
Understand cloud and background agents5m 12s
-
(Locked)
Plan mode in Copilot: Quick review2m 25s
-
(Locked)
Session panel2m 23s
-
(Locked)
Create a plan5m 15s
-
(Locked)
Save plan as markdown1m 42s
-
(Locked)
Run the plan on background agent1m 40s
-
(Locked)
Use terminal with background agent2m
-
(Locked)
The Git worktree2m
-
(Locked)
Review the changes1m
-
(Locked)
Merge the changes1m 28s
-
(Locked)
-
-
-