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 6175581
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T23:56:57+00:00 2026-05-23T23:56:57+00:00

I recently decided that I wanted all people who commit to my repository to

  • 0

I recently decided that I wanted all people who commit to my repository to fill in a simple commit log. Basically I want them to fill in a form to the commit message.

A quick search found me:
How can I change the default comments in the git commit message?

Now, I can put in a hook to generate a default commit message with my form outline.

However, I understand that for security reasons, git won’t let me push a hook to the others who are connected to my repository.

Alternately, I can change my commit.template to specify a template, and I will be presented with a form to fill out whenever I do a commit.

Again, I can’t seem to be able to change the configuration on other peoples machines.

Is there any way to give everyone the same default commit message in git without them setting it up themselves?

  • 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-05-23T23:56:58+00:00Added an answer on May 23, 2026 at 11:56 pm

    No you can neither propagate your config nor hooks.

    Closest you can come to propagate your hooks to remote repositories is checking in the hooks to the repository and have scripts that will either copy them to .git/hooks or create symlinks ( and such a script would still have to be run manually, of course )

    To verify that the commits adhere to the template that you want, you can have “server” side hooks that will prevent the push. If it is just about helping people to have a good default template, provide the “client” hooks like mentioned above and ask them to “install” them.

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

Sidebar

Related Questions

I recently decided I wanted to list all the users in my Ruby On
I recently decided that I wanted to try learning how to program in assembly.
I have recently decided to switch all my current plain mysql queries performed with
I recently decided that I needed to change from using milliseconds to microseconds for
The company that owns the company that I work for has recently decided unilaterally
I have just recently started out programming for Android, and have decided that I
My team recently decided not to use the trunk branch that is typical of
I recently wanted use regex in Cocoa app. But I found that Cocoa does
I've recently started learning HLSL after deciding that I wanted better lighting than what
I'm one of those that recently decided to migrate from MySQL to PostgreSQL and

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.