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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T00:06:55+00:00 2026-06-18T00:06:55+00:00

My git repository is imported from svn. And the username in git log is

  • 0

My git repository is imported from svn. And the username in git log is something like 0129. I want to override it with my setting like John instead of 0129. And I find this:

Is there a way to override a git author's display name in local repository config?

The .mailmap solution works well in git shortlog, but git log still give the same output. Any suggestions?

EDIT
I’ve check Change the author and committer name and e-mail of multiple commits in Git too but I don’t want to run git filter branch every time after git svn rebase.

  • 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-18T00:06:56+00:00Added an answer on June 18, 2026 at 12:06 am

    You need to specify the mapping of authors in the moment of migrating from svn to git, using git-svn:

      mkdir project_tmp
      cd project_tmp
      git-svn init https://company.project.org/project --no-metadata
      git config svn.authorsfile ~/Desktop/users.txt
      git-svn fetch
    

    And the users.txt file is like this:

      xavier.fuster = xavier.fuster <xavier.fuster@project.org>
      francesc.dalmau = francesc.dalmau <francesc.dalmau@project.org>
    

    The first part of the equal is the svn user name, the second part is the git name.

    After this you need to do normal clone to leave all the svn stuff behind:

     git clone project_tmp project
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I currently have a git repository that I imported from svn a while ago
I have a git repository imported from subversion where users have names like H1234567
I have imported my svn repository to git. My current branch for development is
I have a Git repository originally imported from Subversion. Parts of the author/committer information
I have imported the subversion repository to Git repository by svn-all-fast-export . However, after
I have imported SVN repository with Git using: git svn clone --preserve-empty-dirs --stdlayout svn+ssh://...
In my git repository, I made 5 commits, like below in my git log:
I just cloned the git repository for the SBJson framework and imported the source
I am pulling a git repository from github. When I clone the repo there
while pulling into my git repository from our central server, this error occured: $

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.