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.
Cet exercice fait partie du cours
Software Development with Cursor
Exercice interactif pratique
Passez de la théorie à la pratique avec l’un de nos exercices interactifs
Commencer l’exercice