Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/msabramo/git-fix-author

Script for correcting author info in several git commits
https://github.com/msabramo/git-fix-author

Last synced: 11 days ago
JSON representation

Script for correcting author info in several git commits

Awesome Lists containing this project

README

        

marca@marca-mac:~/dev/git-fix-author$ mkdir test-repo && cd test-repo && git init
Initialized empty Git repository in /Users/marca/dev/git-fix-author/test-repo/.git/
marca@marca-mac:~/dev/git-fix-author/test-repo$ git config --add user.email foo@bar
marca@marca-mac:~/dev/git-fix-author/test-repo$ touch abc && git add abc && git commit -m "Added abc"
[master (root-commit) 03b3c1f] Added abc
1 file changed, 0 insertions(+), 0 deletions(-)
create mode 100644 abc
marca@marca-mac:~/dev/git-fix-author/test-repo$ git --no-pager log -n 1
commit 03b3c1f81ba99822a5554d682bc38b9498529768
Author: Marc Abramowitz
Date: Wed Jul 3 13:54:32 2013 -0700

Added abc
marca@marca-mac:~/dev/git-fix-author/test-repo$ ../git-fix-author.sh foo@bar [email protected]
Rewrite 03b3c1f81ba99822a5554d682bc38b9498529768 (1/1)
Ref 'refs/heads/master' was rewritten
marca@marca-mac:~/dev/git-fix-author/test-repo$ git --no-pager log -n 1
commit 003d7cc99da1e87a52ae06cd9b0f7983cd526d78
Author: Marc Abramowitz
Date: Wed Jul 3 13:54:32 2013 -0700

Added abc