When trying to push we get the following error:
git -c
diff.mnemonicprefix=false -c core.quotepath=false push -v --tags origin
treeinterpreter_for_git:treeinterpreter_for_git
POST git-receive-pack (628 bytes)
remote: Branch
refs/heads/treeinterpreter_for_git:
remote: You are not allowed to perform this
operation.
remote: To push into this reference you need 'Push'
rights.
remote: User: user1
remote: Please read the documentation and contact an
administrator
remote: if you feel the configuration is
incorrect
remote:
remote: Processing changes: refs: 1
remote: Processing changes: refs: 1,
done
Pushing to https://user@<server>/a/<project_name>
To https://<server>/a/<project_name>
= [up to date] v0.0_stable -> v0.0_stable
! [remote rejected] treeinterpreter_for_git -> treeinterpreter_for_git
(prohibited by Gerrit)
error: failed to push some refs to 'https://user@<server>/a/<project_name>
Completed with errors, see above.
We’ve checked and user “user1” (which is indeed a user created by us) is not provided somewhere in the settings , i.e. `git config --global user.name` gives “user2”.
We have no idea how it shows up there and why git tries to push with this user1.
Can you please help?
thanks
Ashwini
We have no idea how it shows up there and why git tries to push with this user1.
Can you please help?
thanks
Ashwini
--
--
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.
--
--
To unsubscribe, email repo-discuss...@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...@googlegroups.com.
Hi,When we are trying to push the repository using "User2", why does gerrit trying to push using "User1" ????
And the user.name setting is shared as to show for reference we have configured that with "User2" still the push operation is trying with "User1" :(:(
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.
Hi,When we are trying to push the repository using "User2", why does gerrit trying to push using "User1" ????And the user.name setting is shared as to show for reference we have configured that with "User2" still the push operation is trying with "User1" :(:(
$ git remote -v
origin https://USER2@<host_name>/a/<project_name> (fetch)
origin https://USER2@<host_name>/a/<project_name> (push)
But the error we are receiving is from USER 1
Please suggest how to proceed.
Regards
Ashwini