Skip to content

Instantly share code, notes, and snippets.

View yurko's full-sized avatar

Yurko Bregey yurko

View GitHub Profile
@yurko
yurko / rewrite_git_hist.sh
Created October 17, 2018 07:47
change commits author
# https://help.github.com/articles/changing-author-info/
#!/bin/sh
# remove backup
rm -f .git/refs/original/refs/heads/master
git filter-branch --env-filter '
OLD_EMAIL="[email protected]"
CORRECT_NAME="Your Name"