Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/git/20.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何在整个git树中更改提交作者,而不仅仅是一个分支_Git - Fatal编程技术网

如何在整个git树中更改提交作者,而不仅仅是一个分支

如何在整个git树中更改提交作者,而不仅仅是一个分支,git,Git,关于如何更改分支中每个提交人的电子邮件,有一些问题和答案。但是如何在整棵树上做到这一点呢?我想在以下回购协议中更改A->B: Branch 1 Branch 3 Branch 4 | | / B B (Branch 2) B _ B | / | / B B \____ _________/ \ / B

关于如何更改分支中每个提交人的电子邮件,有一些问题和答案。但是如何在整棵树上做到这一点呢?我想在以下回购协议中更改A->B:

Branch 1        Branch 3   Branch 4
 |                  |      /
 B   B (Branch 2)   B  _ B
 | /                | /
 B                  B
  \____   _________/
       \ /
        B
        |
        A
        |
        B
        |
        A
        |
        :
        :
        |
        A
可能重复的