Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit / JGit » ! [remote rejected] master -> master (prohibited by Gerrit)(how to push the changess to different branch of gerrit)
! [remote rejected] master -> master (prohibited by Gerrit) [message #721886] Sat, 03 September 2011 11:35 Go to next message
Ram Patnaik is currently offline Ram PatnaikFriend
Messages: 2
Registered: September 2011
Junior Member
I have created one Project
ssh -p 29418 rampatnaik@107.108.205.104 gerrit create-project -n ram-test
in client pc I have created one folder and created few files .
then
git init
git add file.c
git commit
git remote add origin ssh://107.108.205.104/ram-test

git push origin master:refs/heads/ICS-Android
! [remote rejected] master -> ICS-Android (prohibited by Gerrit)

git push origin master:refs/for/ICS-Android
! [remote rejected] master -> refs/for/ICS-Android (branch ICS-Android not found)

git push origin HEAD:refs/heads/ICS-Android
! [remote rejected] HEAD -> ICS-Android (prohibited by Gerrit)

git push origin HEAD:refs/for/ICS-Android
! [remote rejected] HEAD -> refs/for/ICS-Android (branch ICS-Android not found)

git push origin HEAD:refs/heads/master
! [remote rejected] HEAD -> master (prohibited by Gerrit)

How do I push the changes to different branch
Re: ! [remote rejected] master -> master (prohibited by Gerrit) [message #722272 is a reply to message #721886] Mon, 05 September 2011 08:26 Go to previous message
Matthias Sohn is currently offline Matthias SohnFriend
Messages: 1268
Registered: July 2009
Senior Member
I think the EGit forum is not the right place to discuss your problem. I recommend you ask this question on the Gerrit discussion group [1].

[1] http://groups.google.com/group/repo-discuss?pli=1
Previous Topic:API for Git/EGit?
Next Topic:Why is the .git directory listed in Explorer views?
Goto Forum:
  


Current Time: Tue Mar 19 11:38:24 GMT 2024

Powered by FUDForum. Page generated in 0.02169 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top