{"thread":{"id":"23539","subject":"git commit --amend --author troubles.","startedAt":"2010-04-20T19:18:10Z","lastAt":"2010-04-20T19:29:19Z","messageCount":2,"participants":["Aghiles","Sverre Rabbelier"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"139992","messageId":"j2n3abd05a91004201218k73256ecaj8921f3bd7e9cc20d@mail.gmail.com","threadId":"23539","inReplyTo":null,"subject":"git commit --amend --author troubles.","fromName":"Aghiles","fromEmail":"aghilesk@gmail.com","sentAt":"2010-04-20T19:18:10Z","receivedAt":"2010-04-20T19:18:10Z","isPatch":false,"sender":{"key":"aghilesk@gmail.com","avatar":null},"body":"Hello,\n\nJust did a 'git init .' and then committed some files. git rightfully\ntold me to check my user name and suggested the '--amend'\nand '--author' flags to change the author of my first commit.\nI tried it immediately but 'git log' shows the initial user as if\nnothing has changed. The amended commit message also\nshows the original name (in the comment).\n\ngit version 1.7.0.3\n\n  -- aghiles\n"},{"id":"139993","messageId":"m2pfabb9a1e1004201229zd3b75801j5889783724669225@mail.gmail.com","threadId":"23539","inReplyTo":"j2n3abd05a91004201218k73256ecaj8921f3bd7e9cc20d@mail.gmail.com","subject":"Re: git commit --amend --author troubles.","fromName":"Sverre Rabbelier","fromEmail":"srabbelier@gmail.com","sentAt":"2010-04-20T19:29:19Z","receivedAt":"2010-04-20T19:29:19Z","isPatch":false,"sender":{"key":"srabbelier@gmail.com","avatar":"https://avatars.githubusercontent.com/u/3098?v=4"},"body":"Heya,\n\nOn Tue, Apr 20, 2010 at 21:18, Aghiles <aghilesk@gmail.com> wrote:\n> Just did a 'git init .' and then committed some files. git rightfully\n> told me to check my user name and suggested the '--amend'\n> and '--author' flags to change the author of my first commit.\n> I tried it immediately but 'git log' shows the initial user as if\n> nothing has changed. The amended commit message also\n> shows the original name (in the comment).\n\nWeird, works for me (on git 1.7.1):\n\nsverre@laptop-sverre:~/code$ git init firsttest\nInitialized empty Git repository in /home/sverre/code/firsttest/.git/\nsverre@laptop-sverre:~/code$ cd firsttest/\nsverre@laptop-sverre:~/code/firsttest$ echo \"hi\" > foo\nsverre@laptop-sverre:~/code/firsttest$ git add foo\nsverre@laptop-sverre:~/code/firsttest$ git commit -m \"Initial commit\"\n[master (root-commit) 6284b75] woot\n 1 files changed, 1 insertions(+), 0 deletions(-)\n create mode 100644 foo\nsverre@laptop-sverre:~/code/firsttest$ git commit --amend --author=\"Piet\"\nfatal: No existing author found with 'Piet'\nsverre@laptop-sverre:~/code/firsttest$ git commit --amend\n--author=\"Piet Hein <piet.hein@example.com>\"\n[master 17ff92a] Initial commit\n Author: Piet Hein <piet.hein@example.com>\n 1 files changed, 1 insertions(+), 0 deletions(-)\n create mode 100644 foo\n\nCould you post a similar example?\n\n-- \nCheers,\n\nSverre Rabbelier\n"}]}