Push tags ,New branch...etc(gerrit version is 2.2.1)

925 views
Skip to first unread message

leason long

unread,
Aug 18, 2011, 10:42:02 PM8/18/11
to Repo and Gerrit Discussion
Hi,all.

My gerrit version is 2.2.1, I'm trying to push a tag to code
repository.
...
git commit
git tag t0.0.1
git push origin refs/tags/t0.1.1
... ...
! [remote rejected] ...... (prohibited by Gerrit)
In Access control ,only "Push Annotated Tag"
The user has Push and push Annotated Tag permissions on refs/heads/*
and refs/tags/*.

Am I missing something?
Is there another way to do it?

Thanks

Matthias Sohn

unread,
Aug 19, 2011, 1:30:55 AM8/19/11
to leason long, Repo and Gerrit Discussion
2011/8/19 leason long <leas...@gmail.com>
Maybe you are trying to push a lightweight tag [1], 
this would require an additional permission 


--
Matthias
Reply all
Reply to author
Forward
0 new messages