Gated commit
A gated commit, gated check-in or pre-tested commit is a software integration pattern that reduces the chances for breaking a build (and often its associated tests) by committing changes into the main branch of version control. This pattern can be supported by a continuous integration (CI) server. To perform a gated commit the software developer must request a gated commit from the CI server before committing the actual changes to a central location. The CI server merges the local changes with the head of the master branch and performs the validations (build and tests) that make up the gate. So the developer can see if their changes break the build without actually committing the changes. A commit to the central location will only be allowed if the gates are cleared. As an alternative this pattern can be realized using different branches in version control. For instance, GitHub can force all commits to a branch B to be merge commits from pull requests which have successfully been built on the CI server and are up-to-date (i.e. based or rebased on B).
A gated commit, gated check-in or pre-tested commit is a software integration pattern that reduces the chances for breaking a build (and often its associated tests) by committing changes into the main branch of version control. This pattern can be supported by a continuous integration (CI) server. To perform a gated commit the software developer must request a gated commit from the CI server before committing the actual changes to a central location. The CI server merges the local changes with the head of the master branch and performs the validations (build and tests) that make up the gate. So the developer can see if their changes break the build without actually committing the changes. A commit to the central location will only be allowed if the gates are cleared. As an alternative this pattern can be realized using different branches in version control. For instance, GitHub can force all commits to a branch B to be merge commits from pull requests which have successfully been built on the CI server and are up-to-date (i.e. based or rebased on B). ==References==
References
- Set build triggers on TFS · retrieved 2016-06-17 · rev 1319043936
Cite this reference
MLA "Set build triggers on TFS." 2016-06-17. https://www.visualstudio.com/docs/build/define/triggers#tfvc-gated-check-in. Accessed 24 November 2026.
Chicago "Set build triggers on TFS." 2016-06-17. https://www.visualstudio.com/docs/build/define/triggers#tfvc-gated-check-in.
APA encyclopegia.org. (2016). Set build triggers on TFS. Retrieved November 24, 2026, from https://www.visualstudio.com/docs/build/define/triggers#tfvc-gated-check-in
- Pre-Tested (Delayed) Commit - TeamCity 9.x Documentation - Confluence · retrieved 2016-11-24 · rev 1319043936
Cite this reference
MLA "Pre-Tested (Delayed) Commit - TeamCity 9.x Documentation - Confluence." "Pre-Tested (Delayed) Commit - TeamCity 9. 2016-11-24. https://confluence.jetbrains.com/display/TCD9/Pre-Tested+(Delayed)+Commit. Accessed 24 November 2026.
Chicago "Pre-Tested (Delayed) Commit - TeamCity 9.x Documentation - Confluence." "Pre-Tested (Delayed) Commit - TeamCity 9. 2016-11-24. https://confluence.jetbrains.com/display/TCD9/Pre-Tested+(Delayed)+Commit.
APA "Pre-Tested (Delayed) Commit - TeamCity 9. (2016). Pre-Tested (Delayed) Commit - TeamCity 9.x Documentation - Confluence. Retrieved November 24, 2026, from https://confluence.jetbrains.com/display/TCD9/Pre-Tested+(Delayed)+Commit
- Build Pattern: Gated Commit · retrieved 2014-08-17 · rev 1319043936
Cite this reference
MLA "Build Pattern: Gated Commit." 2014-08-17. http://osherove.com/blog/2013/1/20/build-pattern-gated-commit.html. Accessed 24 November 2026.
Chicago "Build Pattern: Gated Commit." 2014-08-17. http://osherove.com/blog/2013/1/20/build-pattern-gated-commit.html.
APA encyclopegia.org. (2014). Build Pattern: Gated Commit. Retrieved November 24, 2026, from http://osherove.com/blog/2013/1/20/build-pattern-gated-commit.html
- Enabling required status checks · retrieved 2016-06-17 · rev 1319043936
Cite this reference
MLA "Enabling required status checks." 2016-06-17. https://help.github.com/articles/enabling-required-status-checks/. Accessed 24 November 2026.
Chicago "Enabling required status checks." 2016-06-17. https://help.github.com/articles/enabling-required-status-checks/.
APA encyclopegia.org. (2016). Enabling required status checks. Retrieved November 24, 2026, from https://help.github.com/articles/enabling-required-status-checks/
Cite this article
MLA
"Gated commit." encyclopegia.org, 2025, https://encyclopegia.org/wiki/gated-commit. Accessed 24 November 2026.
Chicago
"Gated commit." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/gated-commit.
APA
encyclopegia.org. (2025). Gated commit. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/gated-commit
Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON