Yup thanks I was successfully able to do this. Cheers for that :)
On Sun, Nov 11, 2012 at 7:24 PM, Koehne Kai <kai.koe...@digia.com> wrote: > Hi Khan, > > the description of your commit is missing a Change-Id: field. These can be > added automatically by copying the 'commit-msg' hook to your local > .git/hooks directory: > > cd qt-creator > scp -p -P 29418 > mkhan3...@codereview.qt-project.org<http://mkhan3...@codereview.qt-project.org:29418/qt-creator/qt-creator>:hooks/commit-msg > .git/hooks > > Then do a git --amend so that the hook has a chance to add the Change-Id > to your commit. > > Details about change-id: > https://review.typo3.org/Documentation/user-changeid.html > > Regards > > Kai > > ------------------------------ > *From:* > development-bounces+kai.koehne=digia....@qt-project.org[development-bounces+kai.koehne= > digia....@qt-project.org] on behalf of Majid Khan [mkhan3...@gmail.com] > *Sent:* 11 November 2012 08:22 > *To:* Thiago Macieira > *Cc:* Qt Development > *Subject:* Re: [Development] Pushing to gerrit > > 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://mkhan3...@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:// > mkhan3...@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.macie...@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:// >> mkhan3...@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@qt-project.org >> http://lists.qt-project.org/mailman/listinfo/development >> >> > > > -- > Majid Khan > http://www.icplusplus.com > -- Majid Khan http://www.icplusplus.com
_______________________________________________ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development