Change commands

Git has a set of useful commands that are used to check the status of files in the repository, review updates made to the files, and commit changes made to the project files.

The git status command is used to show the working status of the repository. The command essentially gives a summary of the files that have changed and are staged for the next commit. It displays the paths of the files that have differences between the current HEAD commit and the index file. It also displays the paths of the files that have differences between the index file and the working tree as well as paths of the files that are not currently being tracked by Git but have not been added in the .gitignore file:

git status

The git add command uses ...

Get C# and .NET Core Test Driven Development 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.