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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T07:18:45+00:00 2026-05-12T07:18:45+00:00

I am working on a project in a subversion repository with a strict check-in

  • 0

I am working on a project in a subversion repository with a strict check-in policy which includes: Every commit to the trunk has to be reviewed by another developer and this must be mentioned in the commit message.

While working with git-svn I am making many incremental git check-ins that aren’t reviewed. Their git commit messages reflect this.

What’s the best way in which to use git-svn but follow the rules for the svn repository? Should I just squash all commits into a single svn commit? Can I rewrite the commit messages for each revision with the reviewer information? Could I “manually” move each individual change to the git master branch and modify the commit message of each before doing a git-svn dcommit?

  • 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-12T07:18:46+00:00Added an answer on May 12, 2026 at 7:18 am

    You can interactively rebase your local branch against the Subversion tracking branch which provides you with an opportunity to squash and amend the commit.

    Next time you dcommit, dcommit will replay your history one commit at a time and this is what will be commited to Subversion.

    Assumptions:

    1. Local branch is master
    2. Master is checked out
    3. Remote tracking branch is named git-svn
    4. git-svn is up to date

    What to do:

    $ git rebase -i git-svn
    

    Your default editor will open with a list of commits in master to rebase against git-svn. You can pick, edit or squash the commit (Mix and match if desired).

    After making your selection, another temporary file will open displaying commit messages for each of the commits you’re rewriting. This is where you amend the commit message.

    Caveats:

    You’re rewriting the history of your repository, exercise caution. It might be worthwhile experimenting with this behaviour until feel confident.

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

Sidebar

Related Questions

I recently was working with a subversion project that checked out code not only
On a project I'm working on, we use subversion, with tortoiseSVN as a client,
I have a working copy of my project, checked out using Subversion 1.5.1. When
I am working a project that does not have a trunk / branches /
I am working on project in Linux which involves 1) Static Lib in C++
I am working a project where I need to generate a series of classes
I'm currently working on project with Haskell, and have found myself some trouble. I'm
I am only one person working on project - so I am developer without
Working on a project at the moment and we have to implement soft deletion
Working on a project that parses a log of events, and then updates a

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.