Create a patch when you have developed and tested your code locally, and are ready to submit it for review.
- Right-click an item in the Solution Explorer and select .
- In the Create Patch window, select the files you want to inlcude in your patch and click OK.
- Save the patch file.
While patch files can have any extension, the convention is to use the .patch or .diff extension.
The patch file is created in the Unified Diff format. It contains a summary of all your changes to the selected files since their last update from the repository.