Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8708115
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T04:02:40+00:00 2026-06-13T04:02:40+00:00

We have an account in Github and hosts all of our projects in Github

  • 0

We have an account in Github and hosts all of our projects in Github (private repositories).

We want to enforce coding-standard and probably other hooks that we use for internal purpose. We have had these hooks work pretty well for subversion since the repository located in a single place, administering these hooks was excellent.

With Github, looks like I lose an ability to add my hooks in the main repository(?), hence I am struck:

  1. How do I enforce coding-standard to every member when they push their changes their files to the main repository?
  2. Is there any way on Github to execute my hooks present is my server before it process any push request?

I am looking for ideas/suggestions to make my life easier, any help is greatly appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T04:02:41+00:00Added an answer on June 13, 2026 at 4:02 am

    I don’t think this is a job for the VCS. The thing is that tools that are helping to enforce coding standards are usually working with the source and sometimes with the binaries. For example in Java checkstyle can be run on source, but findbugs needs sources + compiled code.
    But as I understand running such tools on a patch is not effective enough. Those tools need context.

    So I would recommend to create an instance of Continuous Integration Server like Jenkins and have it checkout code from Github if there are new changes, compile and run static analysis tools, the results of the build should be sent out to all team members. It will not only provide you feedback about pushed changes being properly coded, but also provide beneficial feedback if the code is stable from build perspective right away.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an organization on GitHub with private repositories. I also have Jenkins set
I have an account on github and I am the owner of an organization.
I have an Account entity which has all fields in UpdateCheck = Never except
I have configured my machine to use one account for a github project for
I have setup with guthub with a previous github account on this computer called
I have configured my account on GitHub to host my Xcode project. I followed
I have created a github account where I have created a repository with a
I created an account at github.com and im very new to git. I have
I you have a github account with Jekyll-rendered pages at: username.github.com is it possible
Let's say I'm user1 and I have a Github account at http://github.com/user1 . Naturally,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.