What's the difference between Commit and Update?
Solution 1
Commit puts your changes into the repository.
Update gets the latest version from the repository.
Solution 2
Update gets the latest from the repository onto your workspace.
Commit commits or checks in your changes into the repository.
Best practice is to do an Update first to get the latest so that you can merge the changes and resolve any conflicts with the code on your workspace.
You will be forced to do an update if there are changes in the repository when committing but its quicker to do it before trying to commit.
Solution 3
Commit = Commit/confirm your changes to the repository. Update = Get the latest version/changes from the repository.
When you change a file and want to keep the changes, commit them to the repository.
When you want to get the latest available version/s from the repository, use update to update your local files.
I hope this clear things out for you.
Update is called "Get latest" in TFS/Source Safe if I remember correct...
/Fred
Solution 4
A commit will upload your changed files to the repository and create a revision. Whereas an update will download any revisions from the repository into your local copy.
Solution 5
Commit uploads your changes on the CVS / SVN server, and Update overwrites the files on your localhost with the ones on the server.