I have a little thing to do what looked pretty simple up until today...

There is a website on which there is a button. Push the button -> clone a 
repo -> copy a local file into the cloned repo -> commit -> push -> delete 
the repo. It shall be a pretty simple flow.

But... I cannot make the git commit work.  The problem is that all the 
actions are done using the www-data account, what is a "nologin" account so 
it is not possible to use the "git config" command on it.
Any git commit issued prints "Committer: www-data" what is fairly 
disappointing.  I can change the author but due to the fact www-data cannot 
be configured (and the author/committer changes case by case) it looks to 
be impossible to commit and push data.

The closest I got is
git commit --all --amend --author="author" --message "Automatic update from 
mywebsite for file some file"
what results in - so the question is: *How do I change the Committer?*

Author: author
Committer: www-data 
Your name and email address were configured automatically based
on your username and hostname. Please check that they are accurate.
You can suppress this message by setting them explicitly:

git config --global user.name "Your Name"
git config --global user.email y...@example.com

After doing this, you may fix the identity used for this commit with:

git commit --amend --reset-author

You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to