Staging changes to local repository

When you add new files to your project, modify existing ones, or delete existing files from your project or Git code base, they will be marked as modified since the last commit. You can see a list of your changes by navigating to Project | Changes under Team Explorer, as shown in the following screenshot:

Right click on the files/folders that you want to move to the staging area and, from the context menu, click Stage. Later, if you want to unmark any file/folder from the staging area, right click on those files/folders and click Unstage from the context menu, as shown in the following screenshot:

If you ...

Get Mastering Visual Studio 2017 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.