Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Rights problem when pushing to CDT gerrit

Hi Michael,

I think the problem is you are applying a Pull Request user flow, but CDT uses Gerrit. 

So you need to push to refs/for/master instead of your own branch. 

Jonah 


On Tue., Dec. 21, 2021, 06:00 Michael Uhl (CTR) via cdt-dev, <cdt-dev@xxxxxxxxxxx> wrote:
Hello,
I have changes in the poject "org.eclipse.cdt.dsf.gdb.ui". When I want to offer a gerrit push, I get the following output:

socbm797:/home/michauhl/git/org.eclipse.cdt[bug_577907]$ git push --set-upstream git-gerrit bug_577907
Enumerating objects: 27, done.
Counting objects: 100% (27/27), done.
Delta compression using up to 16 threads
Compressing objects: 100% (7/7), done.
Writing objects: 100% (14/14), 1008 bytes | 126.00 KiB/s, done.
Total 14 (delta 6), reused 0 (delta 0), pack-reused 0
remote: Resolving deltas: 100% (6/6)
remote: error: branch refs/heads/bug_577907:
remote: You need 'Create' rights to create new references.
remote: User: muhl
remote: Contact an administrator to fix the permissions
remote: Processing changes: refs: 1, done    
 ! [remote rejected]       bug_577907 -> bug_577907 (prohibited by Gerrit: not permitted: create)
error: failed to push some refs to 'https://git.eclipse.org/r/cdt/org.eclipse.cdt.git'

Can anyone help me?

Thanks and Regards
Michael Uhl
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/cdt-dev

Back to the top