Created
May 30, 2016 14:08
-
-
Save anlutro/67e0cec1a6a419e6d44131b0bc1deff6 to your computer and use it in GitHub Desktop.
git revert with --author
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% git init | |
Initialized empty Git repository in /home/andreas/tmp/gittest2/.git/ | |
% echo 'test' > test | |
% git add test | |
% git commit -m 'test commit' | |
[master (root-commit) 8d25641] test commit | |
1 file changed, 1 insertion(+) | |
create mode 100644 test | |
% echo 'test' >> test | |
% git add test | |
% git commit -m 'second test commit' | |
[master 88ecf32] second test commit | |
1 file changed, 1 insertion(+) | |
% git revert 88ecf32 --author 'test' | |
fatal: BUG: expected exactly one commit from walk |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
is this a bug? do you know a solution, assuming I can't set the system git config? I can't find documentation anywhere else online.