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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T02:46:35+00:00 2026-05-26T02:46:35+00:00

After doing the git cvsimport my previous commits are listed belonging to user user

  • 0

After doing the

git cvsimport

my previous commits are listed belonging to user “user ” (user is my unix username).

How can I tell git that these commits are mine (i.e., define a mapping from “user” to my “First Lastname <first@last.com>” git-user)?

  • 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-26T02:46:36+00:00Added an answer on May 26, 2026 at 2:46 am

    You can use the -A option to git cvsimport to map user names in CVS to Full Name <email@address> in git. The man page says:

       -A <author-conv-file>
           CVS by default uses the Unix username when writing its
           commit logs. Using this option and an author-conv-file in
           this format
    
                       exon=Andreas Ericsson <ae@op5.se>
                       spawn=Simon Pawn <spawn@frog-pond.org>
    
           git cvsimport will make it appear as those authors had
           their GIT_AUTHOR_NAME and GIT_AUTHOR_EMAIL set properly
           all along.
    
           For convenience, this data is saved to
           $GIT_DIR/cvs-authors each time the -A option is provided
           and read from that same file each time git cvsimport is
           run.
    
           It is not recommended to use this feature if you intend to
           export changes back to CVS again later with git
           cvsexportcommit.
    

    If you don’t want to rerun the import, you can have a look at this answer, which tells you how to rewrite the author information in each commit using git filter-branch. (Note that using git filter-branch for this rewrites the history extensively, so you shouldn’t do that if you’ve already shared the repository with anyone.)

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

Sidebar

Related Questions

After doing some search on SO, Google and MSDN forums I've become frustrated that
What exactly are these commands doing: ssh serveradmin%mt-example.com@serveradmin@mt-example.com cd domains/git.mt-example.com/html/mt-example.git git --bare update-server-info cd
After doing a simple merge (one without conflicts), git show usually only shows something
So, after converting my repository to git and doing the first build, some build
After doing git svn init -s <url to repo> , git remote doesn't list
After a pull, git status tells me that I have changed a 16Mb xml
What is the difference between doing (after mkdir repo and cd repo ): git
After doing some work with Ruby, Rails, and RSpec last summer and I learned
After doing a project with WPF and getting very much attached to it's excellent
After doing a subversion merge with a co-worker, my VSeWSS project no longer build

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.