To commit changes to Git repository, right click the project in the solution explorer and select menu "Git - Pending Changes".
- New, modified and deleted files are shown in the Changed Files list.
- Select the files you want to commit. The diff view on the right side shows the details of what has been changed compare to last commit.
- Add comment message and click the “Commit” button.
The files status are shown as being Git tracked after commit.
You can also amend last commit or commit to new branch.
To amend last commit, click the “Amend Last Commit” button. it loads the last commit’s comment message in case you want to modify it. Select files to commit and click the “Amend Last Commit” button to Amend the commit.
To commit to another branch or a new branch, click the “Commit to Branch” button. A dialog popups allowing you select another branch or create a new branch.
Notice the branch name in solution explorer title bar and the pending changes window title bar changes to reflect the current branch name after commit.
Using the History view, you can view the commit history.