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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T13:15:37+00:00 2026-05-26T13:15:37+00:00

My org has some silly requirements that you must put admin at the end

  • 0

My org has some silly requirements that you must put “admin” at the end of every SVN commit message in order to get around some decision made by the SVN gatekeepers that every commit should have an associated bug number. (Everyone on the team bypasses this requirement similarly.)

I’m trying to use git SVN, but I’d like to avoid putting “admin” at the end of my frequent git-svn commits.

Is there a way to have git SVN do this for me?

  • 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-26T13:15:38+00:00Added an answer on May 26, 2026 at 1:15 pm

    You can set up a git commit hook, so that when you commit to git, it will append "admin" to the commit message. Then when you do your git svn dcommit, your commit messages will already have the expected string there.

    Documentation on git hooks.

    In your project’s .git directory, there will be a directory called hooks.

    cwd: ~/testrepo/.git/hooks master 
    λ > ls
    applypatch-msg.sample  post-update.sample     pre-commit.sample      prepare-commit-msg.sample
    commit-msg.sample      pre-applypatch.sample  pre-rebase.sample      update.sample
    

    You can take a look at the files, prepare-commit-message.sample can be used to edit commit messages before they are committed.

    Make a copy of prepare-commit-message.sample and call it prepare-commit-message.

    cp prepare-commit-message.sample prepare-commit-message
    

    So open that file, and as a demonstration I added this line to the end:

    # Append 'admin' to the end of the commit message, $1 is the message passed as argument
    echo "admin" >> "$1"
    

    Save changes, exit, try a change, and commit it.

    λ > echo etc >> README 
    λ > git add .
    λ > git commit -m "testing"
    [master 89a435d] testing admin
     1 files changed, 1 insertions(+), 0 deletions(-)
    
    λ > git log
    commit 89a435d5e110229d3c9989bfb464ae2420eb5088
    Author: birryree
    Date:   Fri Oct 28 12:54:20 2011 -0400
    
        testing
        admin
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

the tigris website http://subversion.tigris.org/getting.html#windows has a link to another svn server, which is called
Does anyone know if this subversion bug has been dealt with? https://svn.apache.org/repos/asf/subversion/tags/1.6.9/www/faq.html#windows-access-denied I'm getting
We have a .properties file that has some values persisted as JSON. I keep
I am playing around with vim and I heard that python.vim has some nifty
I have a simple task of adding a paragraph that has some formatted text
1: I have a .html file that has some markup with some placeholder tags.
this class is from http://wiki.fluentnhibernate.org/Getting_started it has some logic in it and I think
I have a class that is inherited from List<T> and also has some properties,
I'm trying to create a page that has some information in databound labels with
Does anyone know a C library that has some standard probability functions like R

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.