We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4e3756 commit ac73585Copy full SHA for ac73585
r.sh
@@ -0,0 +1,17 @@
1
+#!/bin/sh
2
+
3
+git filter-branch --env-filter '
4
+OLD_EMAIL="1770747317@qq.com"
5
+CORRECT_NAME="DataEraser"
6
+CORRECT_EMAIL="MayuriNFC@outlook.com"
7
+if [ "$GIT_COMMITTER_EMAIL" = "$OLD_EMAIL" ]
8
+then
9
+ export GIT_COMMITTER_NAME="$CORRECT_NAME"
10
+ export GIT_COMMITTER_EMAIL="$CORRECT_EMAIL"
11
+fi
12
+if [ "$GIT_AUTHOR_EMAIL" = "$OLD_EMAIL" ]
13
14
+ export GIT_AUTHOR_NAME="$CORRECT_NAME"
15
+ export GIT_AUTHOR_EMAIL="$CORRECT_EMAIL"
16
17
+' --tag-name-filter cat -- --branches --tags
0 commit comments