git/list[1] front-page[2] threads[3] people[4] search[5] about
 

modifying the commits before push

From
SSSam Steingold <sds@gnu.org>
Date
Jan 18, 2012, 17:49 UTC
Message-ID
<87wr8o3nq0.fsf@gnu.org>

Hi, I am trying to push: $ git status # On branch master # Your branch is ahead of 'origin/master' by 4 commits. # nothing to commit (working directory clean) $ but `git push` fails with this:

remote: ERROR: Rejecting update because this commit email is not from ZZZ
What I need to do is
- modify the 4 commits with a different e-mail and do `git push` again
- make sure that all my commits in this repo are done with the correct e-mail
how do I do this?
thanks!
-- 
Sam Steingold (http://sds.podval.org/) on Ubuntu 11.10 (oneiric) X 11.0.11004000
http://pmw.org.il http://jihadwatch.org http://thereligionofpeace.com
http://openvotingconsortium.org http://ffii.org http://camera.org
Let us remember that ours is a nation of lawyers and order.
Next: Dirk Süsserott
Message 1 of 4 in “modifying the commits before push”
  1. Sam SteingoldJan 18, 2012
  2. Dirk SüsserottJan 18, 2012
  3. Sam SteingoldJan 18, 2012
  4. Andreas SchwabJan 18, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.