---
title: "Discussion on \"Run RuboCop on git commit with Overcommit Gem\" | Hashnode"
description: "Discussion on \"Run RuboCop on git commit with Overcommit Gem\". How do you make sure that RuboCop rules configured in your project are followed by all your team members and code with issues are not pushed to Git repository?\nAnswer is using Overcommit gem with git hooks. Git hooks are one of the most popular way t..."
url: "https://hashnode.com/posts/run-rubocop-on-git-commit-with-overcommit-gem/612785af22e1ba252a87f3eb"
---

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

Discussion

# [Run RuboCop on git commit with Overcommit Gem](https://blog.prabinpoudel.com.np/run-rubocop-on-git-commit-with-overcommit-gem?utm_source=hashnode&utm_medium=feed)

How do you make sure that RuboCop rules configured in your project are followed by all your team members and code with issues are not pushed to Git repository? Answer is using Overcommit gem with git hooks. Git hooks are one of the most popular way t...

Aug 26, 2021 · 6 min read · blog.prabinpoudel.com.np  
Read the article

-   [#ruby-on-rails](https://hashnode.com/tag/ruby-on-rails)
-   [#code-review](https://hashnode.com/tag/code-review)
-   [#git](https://hashnode.com/tag/git)

## Written by

[Prabin Poudel](https://hashnode.com/@prabin)

@prabin · Nepal

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

Ruby on Rails Freelancer

Ruby on Rails Freelancer . Traveller . Building http://zeroconfigrails.com

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
