Version

    Committing into Repository

    Git
    SVN

    To commit changes into repository, you should have a versioned server project. You can either create a new one (see Adding Server Project to Version Control) or check out an existing one (see Initial Check-Out of Project from Repository).

    Git

    Eclipse Plugin - EGit
    1. Right click the project in Project Explorer, and choose TeamCommit.

    2. Choose files, enter a commit message, and click Commit and Push.

    3. Enter credentials.

    4. View the changes and click OK.

    External tool - TortoiseGit
    1. In File Explorer, right click the project and choose Git commit -> "master".

    2. Type the commit message, choose files to be committed and click Commit.

      You can change Commit to Commit & Push.

    External Tool - Command Line
    1. Add changes to staging area.

      Within the repository, type git add path/to/file(s).

    2. Type git commit -m "The commit message" to commit the changes.

    3. Type git push to push the changes to the remote repository.

    SVN

    Eclipse Plugin - Subclipse
    1. In the Project Explorer view, right click the project name and choose TeamCommit...

    2. Type the commit message, choose files to be committed, and click OK.

    External Tool - TortoiseSVN
    1. In File Explorer, right click the project directory and choose SVN Commit...

    2. Choose the files to be committed, type a commit message and click OK.

    External Tool - Command Line
    1. Add files that you added with svn add path/to/file.

    2. Type svn commit -m "The commit message" to commit the changes.