From the course: AI Coding Agents with GitHub Copilot and Cursor
Unlock this course with a free trial
Join today to access over 24,700 courses taught by industry experts.
How to accept all or individual agent edits
From the course: AI Coding Agents with GitHub Copilot and Cursor
How to accept all or individual agent edits
- [Instructor] In the previous video, the Cursor agent made a bunch of changes to two files in my project. And now I, the human in the loop, get to decide what happens next. I can either go into the chat and accept all. This means I accept every single change that happened throughout the project without reviewing it. I can go into the editor area and accept the changes for each file. So that means I'll say all the changes for Cipher Game and then all the changes for Cipher.ts. Or if I want to review exactly what happened here, I can go into the file itself, and just like working with Git, I can now see the edits in real time. So here we see the diffs between the before and after states. I'll close out this. You'll see it in more detail. Here we have a red line, which is what was there before, and then a green line with a new edit. And I can go in and accept just this edit or reject just this edit. And this is really important because when you're working with these agents, there's…
Contents
-
-
-
What is an AI coding agent?2m 31s
-
(Locked)
Accessing agent mode in GitHub Copilot4m 28s
-
(Locked)
Accessing agent mode in Cursor1m 26s
-
(Locked)
Understanding how chat, edit, and agent modes differ5m 10s
-
(Locked)
Defining agent scope4m 53s
-
(Locked)
How to accept all or individual agent edits2m
-
(Locked)
Reverting agent edits3m 9s
-
(Locked)
Running agent command line prompts3m 4s
-
(Locked)
Adding custom instructions for GitHub Copilot4m 26s
-
(Locked)
Adding custom instructions for Cursor5m 18s
-
-