Skip to content

Commit 931f0c6

Browse files
committed
add some modify
1 parent b0b89c8 commit 931f0c6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

git/r.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
git filter-branch --env-filter '
44
OLD_EMAIL="torvalds@linux-foundation.org"
55
CORRECT_NAME="DataEraser"
6-
CORRECT_EMAIL="MayuriNFC@outlook.com"
6+
CORRECT_EMAIL="102341238+DataEraserC@users.noreply.github.com"
77
if [ "$GIT_COMMITTER_EMAIL" = "$OLD_EMAIL" ]
88
then
99
export GIT_COMMITTER_NAME="$CORRECT_NAME"

git/rewrite.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
git filter-branch -f --env-filter "GIT_COMMITTER_NAME=DataEraser; GIT_COMMITTER_EMAIL=MayuriNFC@outlook.com;"
2-
git filter-branch -f --env-filter "GIT_AUTHOR_NAME=DataEraser; GIT_AUTHOR_EMAIL=MayuriNFC@outlook.com; "
1+
git filter-branch -f --env-filter "GIT_COMMITTER_NAME=DataEraser; GIT_COMMITTER_EMAIL=102341238+DataEraserC@users.noreply.github.com;"
2+
git filter-branch -f --env-filter "GIT_AUTHOR_NAME=DataEraser; GIT_AUTHOR_EMAIL=102341238+DataEraserC@users.noreply.github.com; "
33
git filter-branch -f --env-filter "GIT_COMMITTER_NAME=DataEraser; "
44

55
git filter-branch -f --env-filter "if [ $GIT_COMMITTER_NAME == ‘CommitName’ ]; then GIT_COMMITTER_NAME=‘Demo’; fi "

0 commit comments

Comments
 (0)