GitRewrite icon indicating copy to clipboard operation
GitRewrite copied to clipboard

Option to source one contributer from command line

Open Enyium opened this issue 2 years ago • 0 comments

If the argument after --rewrite-contributors starts with a colon, which can't happen for file paths on Windows, please take the text after the colon as the contributer file's contents.

Instead of:

GitRewrite --rewrite-contributors contributors.txt .git

This would spare you to create an intermediate file and allow you to write:

GitRewrite --rewrite-contributors ":Old User <[email protected]> = New User <[email protected]>" .git

Enyium avatar Jan 30 '23 06:01 Enyium