[Development] Pushing to gerrit

Majid Khan mkhan3189 at gmail.com
Sun Nov 11 08:22:03 CET 2012


Thanks Thiago,

Ok, I am exactly trying following (after fetching and rebasing latest code):

git push origin HEAD:refs/for/master

and getting following output:

Counting objects: 4, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 381 bytes, done.
Total 3 (delta 1), reused 0 (delta 0)
remote: Resolving deltas:   0% (0/1)
remote: ERROR: missing Change-Id in commit message
remote: Suggestion for commit message:
remote: this is test. Please ignore this
remote:
remote: Change-Id: Ic0d0954fcae9e4f4cfbb97d4c1902f66e3298030
To ssh://mkhan3189@codereview.qt-project.org:29418/qt-creator/qt-creator
 ! [remote rejected] HEAD -> refs/for/master (missing Change-Id in commit
message)
error: failed to push some refs to 'ssh://
mkhan3189 at codereview.qt-project.org:29418/qt-creator/qt-creator'

Is my push command invalid? If so, could you please help me with valid
command?
Thanks


On Sun, Nov 11, 2012 at 6:07 PM, Thiago Macieira
<thiago.macieira at intel.com>wrote:

> On domingo, 11 de novembro de 2012 17.10.14, Majid Khan wrote:
> > [core]
> > repositoryformatversion = 0
> > filemode = true
> > bare = false
> > logallrefupdates = true
> > [remote "origin"]
> > fetch = +refs/heads/*:refs/remotes/origin/*
> > url = ssh://
> mkhan3189 at codereview.qt-project.org:29418/qt-creator/qt-creator
> > [branch "master"]
> > remote = origin
> > merge = refs/heads/master
> > [branch "test"]
> > remote = origin
> > merge = refs/heads/master
> >
> >
> > *If anyone else has any idea, please help me with this.*
>
> There's nothing wrong with your setup.
>
> You can push to origin, since that's the Gerrit repository.
>
> --
> Thiago Macieira - thiago.macieira (AT) intel.com
>   Software Architect - Intel Open Source Technology Center
>
> _______________________________________________
> Development mailing list
> Development at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development
>
>


-- 
Majid Khan
http://www.icplusplus.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20121111/bb0b9150/attachment.html>


More information about the Development mailing list