Hi Steve,

You could try a filter branch command :

git filter-branch --commit-filter '
        if [ "$GIT_COMMITTER_NAME" = "<Old Name>" ];
        then
                GIT_COMMITTER_NAME="<New Name>";
                GIT_AUTHOR_NAME="<New Name>";
                GIT_COMMITTER_EMAIL="<New Email>";
                GIT_AUTHOR_EMAIL="<New Email>";
                git commit-tree "$@";
        else
                git commit-tree "$@";
        fi' HEAD

This rewrite history.

Regards,

Nicolas
2011/7/2 Steve Ebersole <st...@hibernate.org>

> I apparently committed some work without having properly set up my git
> name/email config settings after my OS re-install.
>
>
> https://github.com/sebersole/hibernate-core/commit/99909f05978872cee6195c291d06e4f15b8cdf9f
>
> versus say,
>
>
> https://github.com/sebersole/hibernate-core/commit/2025f197e6a3300371ee0f5e467d965e21105d75
>
> Is there a way I can "go back" and change the author for those commits
> to understand it is me?
>
> --
> st...@hibernate.org
> http://hibernate.org
> _______________________________________________
> hibernate-dev mailing list
> hibernate-dev@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev
>
_______________________________________________
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev

Reply via email to