---
title: "Discussion on \"Gated Commits with Git\" | Hashnode"
description: "Discussion on \"Gated Commits with Git\". A gated commit, also called a pre-tested commit, is an integration pattern in which a commit is not approved until a set of tests are ran against the code being commited. In other words, the commit does not go through if the test suite fails.\n\nWhy do..."
url: "https://hashnode.com/posts/gated-commits-with-git/5f6d1d30005ded5336f6f598"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Gated Commits with Git](https://blog.davidojeda.dev/gated-commits-with-git?utm_source=hashnode&utm_medium=feed)

A gated commit, also called a pre-tested commit, is an integration pattern in which a commit is not approved until a set of tests are ran against the code being commited. In other words, the commit does not go through if the test suite fails. Why do...

Sep 25, 2017 · 3 min read · blog.davidojeda.dev  
Read the article

-   [#git](https://hashnode.com/tag/git)
-   [#ci](https://hashnode.com/tag/ci)

## Written by

[David Ojeda](https://hashnode.com/@david_ojeda)

@david\_ojeda · Mexico

  
[View profile](https://hashnode.com/@david_ojeda)

Problem solver - Web and AWS developer

I love the web 🕸 I also write about personal finance in Spanish at https://perrodinero.blog

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
