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
Right click the project in Navigator, and choose → .
Choose files, enter a commit message, and click
.Enter credentials.
View the changes and click OK.
External tool - TortoiseGit
In File Explorer, right click the project and choose Git commit -> "master".
Type the commit message, choose files to be committed and click Commit.
You can change Commit to Commit & Push.
External Tool - Command Line
Add changes to staging area.
Within the repository, type
git add path/to/file(s)
.Type
git commit -m "The commit message"
to commit the changes.Type
git push
to push the changes to the remote repository.
SVN
Eclipse Plugin - Subclipse
In the Navigator view, right click the project name and choose →
Type the commit message, choose files to be committed, and click .
External Tool - TortoiseSVN
In File Explorer, right click the project directory and choose SVN Commit...
Choose the files to be committed, type a commit message and click OK.
External Tool - Command Line
Add files that you added with
svn add path/to/file
.Type
svn commit -m "The commit message"
to commit the changes.