Committing files in the Git repository

In Git, new or modified files are staged for commit. To see the staged files, click on the Git Staging tab in the Git perspective:

Figure 3.20: The Git Staging view

If you do not want to add a file to the Git repository, then right-click on that file (or multiple files selection) and select the Ignore option. Before you commit files to Git, you need to move Unstaged Changes to Staged Changes. We are going to add all the files to Git. So select all the files in the Unstaged Changes view and drag and drop them in the Staged Changes view. It is also recommended to set Author name and Committer. It is usually ...

Get Java EE 8 Development with Eclipse 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.