[Nfd-dev] Fwd: cannot push according to contribution guide

Junxiao Shi shijunxiao at email.arizona.edu
Thu Aug 10 14:54:46 PDT 2017


Hi Nick

If you are to manually manipulate the remote settings, you can go one step
further to shorten the command to `git push gerrit` (and `git push draft`
to upload a draft patchset).
This trick is covered in my blog post
https://yoursunny.com/t/2017/NFD-devbox/ under "uploading to Gerrit"
section.

Yours, Junxiao

On Thu, Aug 10, 2017 at 1:30 PM, Nick Gordon <nmgordon at memphis.edu> wrote:

> He hasn't set gerrit as a remote to his git repo. Generally speaking, the
> command is:
>
> git remote add gerrit ssh://username@git.example.com:1234/project
>
> In particular, if you want to contribute to NFD as nmgordon, to the
> named-data.net gerrit instance, which is hosted on port 29418, the
> command is:
>
> git remote add gerrit ssh://nmgordon@gerrit.named-data.net:29418/NFD
>
> Then, you can use:
>
> git push gerrit HEAD:refs/for/master
>
> I can update the documentation to include a clarifying note.
>
> -Nick
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/nfd-dev/attachments/20170810/ad5340d7/attachment.html>


More information about the Nfd-dev mailing list