Versioning and securing code in Cursor
You’re working on the TaskMate app, a collaborative task management tool built with Next.js. Before you commit your work, you open Cursor’s Git panel to review the files you’ve changed. Instead of writing a commit message by hand, you let Cursor generate one for you based on the diff.
Later, when you pull the latest changes from the remote repository, you run into a merge conflict. Cursor highlights the conflicting sections and shows a button that lets you handle the conflict directly in chat. With one click, Cursor analyzes both versions of the code and proposes a clean resolution that keeps your changes intact.
Select the option that best explains how Cursor made the commit and merge process smoother.
This exercise is part of the course
Software Development with Cursor
Hands-on interactive exercise
Turn theory into action with one of our interactive exercises
Start Exercise