! [rejected] HEAD -> refs/meta/config (non-fast-forward)error: failed to push some refs to '<snip>'hint: Updates were rejected because a pushed branch tip is behind its remotehint: counterpart. Check out this branch and merge the remote changeshint: (e.g. 'git pull') before pushing again.hint: See the 'Note about fast-forwards' in 'git push --help' for details.
i have a parent-project and try to add a rules.pl:git clone ssh://x@y:29418/z.gitgit fetch origin refs/meta/config:refs/remotes/origin/meta/configgit checkout meta/config
cp /tmp/rules.pl ./git add rules.plgit commit -m 'add rules'git push origin HEAD:refs/meta/config
Then i get an error-message, that i may not add the previous commit (done via web-gui) because "the commiter email address is wrong".my new commit:> * 70bbb67 - (HEAD, meta/config) add rules (5 minutes ago) <Oluf Lorenzen>old commit:> * 1b801e0 - (origin/meta/config) allow pushing to config (13 minutes ago) <Oluf Lorenzen>error message:> remote: ERROR: In commit 1b801e0dbefad73f0895e9cc2d1d7080f3873b75> remote: ERROR: committer email address gerrit@y> remote: ERROR: does not match your user account.> remote: ERROR:> remote: ERROR: The following addresses are currently registered:> remote: ERROR: foo> remote: ERROR: bar> remote: ERROR:> remote: ERROR: To register an email address, please visit:> remote: ERROR: https://y/gerrit/#/settings/contactAny ideas what to do now?
Hi There,I am having the same issue since last week, I could not fix it. I did change "git config --global user.name "user.name"git config --global user.email "user...@company.com"git commit --amend --no-editStill having this issue. Infact, I am trying to push to remote server located in china using different account other than mine (Cause in that server I have only one account privileged to push, so I am setting that as global when I push). I am writing a automation script which automatically pushes to China server, when developer gives code review +2. So far, I am having problem with author and committer name difference. Even though after resetting global username and email I am not able to see author and commiter same name same. When I do 'git log' author and committer are different, so it is not changing at all, I donot know what else I can try? Checking on 'git config -l" shows correct username and email of global what I set it.Please help me on this.
--
--
To unsubscribe, email repo-discuss+unsubscribe@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Edwin Kempin
Software Engineer
Google Germany GmbH
Dienerstraße 12
80331 München
Geschäftsführer: Matthew Scott Sucherman, Paul Terence Manicle
Registergericht und -nummer: Hamburg, HRB 86891
Sitz der Gesellschaft: Hamburg
Diese E-Mail ist vertraulich. Wenn Sie nicht der richtige Adressat sind, leiten Sie diese bitte nicht weiter, informieren Sie den Absender und löschen Sie die E-Mail und alle Anhänge. Vielen Dank.
This e-mail is confidential. If you are not the right addressee please do not forward it, please inform the sender, and please erase this e-mail including any attachments. Thanks.