Hi!

On Fri, Mar 19, 2010 at 12:00:29PM -0700, Cliff wrote:
> I recently imported some svn repositories into git and noticed that I
> have no author or committer set.  At first I thought this might be
> because of how I imported it it, but going back to look at the svn
> tree (it was just for personal use) I see that there were no authors
> set there either.
> 
> Is there an easy way to just set all the commit history in my new,
> cloned, git repository to a single author (me) ?

  You might find it useful to read up on git-filter-branch(1). I *think*
that what you want would be achieved by

        git filter-branch --env-filter \
                "export GIT_AUTHOR_NAME='Cliff X'; export 
GIT_AUTHOR_EMAIL='f...@bar'; \
                "export GIT_COMMITTER_NAME='Cliff X'; export 
GIT_COMMITTER_EMAIL='f...@bar'" \
                HEAD

-- 
                                Petr "Pasky" Baudis
http://pasky.or.cz/ | "Ars longa, vita brevis." -- Hippocrates

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To post to this group, send email to git-us...@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.

Reply via email to