Skip to content
All gists
Back to GitHub
Sign in
Sign up
Sign in
Sign up
{{ message }}
Instantly share code, notes, and snippets.
Federico Franzoni
frz-dev
Cybersecurity researcher. Topics of interest: - Malware - Networks & OSs - Virtualization - Blockchain
11
followers
·
17
following
·
75
UPF
Barcelona
Sign in to view email
http://twitter.com/fedfranzoni
View GitHub Profile
Sort:
Recently created
Sort options
Recently created
Least recently created
Recently updated
Least recently updated
All gists
10
Forked
1
Starred
3
Sort:
Recently created
Sort options
Recently created
Least recently created
Recently updated
Least recently updated
1 file
0 forks
1 comment
6 stars
frz-dev
/
git-author-rewrite.sh
Last active
Aug 22, 2019
— forked from
octocat/git-author-rewrite.sh
Added OLD_NAME name replacement
View
git-author-rewrite.sh
#!
/bin/sh
git filter-branch --env-filter
'
OLD_EMAIL="your-old-email@example.com"
OLD_NAME="You Old Name"
CORRECT_NAME="Your Correct Name"
CORRECT_EMAIL="your-correct-email@example.com"
if [ "$GIT_COMMITTER_EMAIL" = "$OLD_EMAIL" ]
then
export GIT_COMMITTER_NAME="$CORRECT_NAME"
You can’t perform that action at this time.
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.