Considerations in committing changes to a repository

When you have completed required changes to an entity, for example a program source code, you must commit the changes to the repository. Your working copy must be up-to-date with the resources that you are committing. Do this by using Team > Update, prior to committing.

Before you can commit anything to the repository, consider these test questions:

  • Are you using the repository as a backup for your source code?

  • Do you want to keep track of the work-in-progress state of your source code as you modify it?

  • Do you want to keep track of the final versions only of your source code?

According to standard, you must commit to the repository every time you deploy an entity to HFix and not when deploying to Sandbox. This way, the repository will not be cluttered with too many versions of the same source.