Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to update git: fatal: empty ident name (for <my@email.com>) not allowed #57

Closed
moevbiz opened this issue Mar 21, 2020 · 2 comments · Fixed by #69 or #71
Closed

Unable to update git: fatal: empty ident name (for <my@email.com>) not allowed #57

moevbiz opened this issue Mar 21, 2020 · 2 comments · Fixed by #69 or #71
Assignees

Comments

@moevbiz
Copy link

moevbiz commented Mar 21, 2020

Whenever I try saving content from the panel, i get the following error message:

The form could not be saved
Exception: undefined
Unable to update git: fatal: empty ident name (for <bruno.mokross@gmail.com>) not allowed

my credentials are definitely set—

% git config --list
> user.name=my name
> user.email=my@email.com

I tested multiple times, following the steps in the README.md.
I have an SSH key set and pushing changes from the terminal works just fine.

config.php looks like this:

return [
  'blankogmbh' => [
    'gcapc' => [
      'commit' => true,
      'push' => true,
      'displayErrors' => true,
      'gitBin' => '/usr/bin/git'
    ],
  ],
];

I am using Laravel Valet, PHP 7.4 and MacOS Catalina

Is there anything super obvious I am doing wrong?

@thathoff
Copy link
Owner

Hi, it seems your Kirby User does not have a name. The plugin uses your Kirby user’s name and email address to commit.

@moevbiz
Copy link
Author

moevbiz commented Mar 22, 2020

ahhhhh, that did the trick. I'm now running into this issue… -> #53 (comment) but I'm sure I'll figure it out somehow. Thanks for your reply!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants