Merging FD.io VPP documents¶
This section describes how to get FD.io VPP documents reviewed and merged.
Git Review¶
The VPP documents use the gerrit server and git review.
Clone with ssh¶
To get FD.io VPP documents reviewed the VPP repository should be cloned with ssh.
Use the following to setup you ssh key
$ ssh-keygen -t rsa
$ keychain
$ cat ~/.ssh/id_rsa.pub
Copy that key to the gerrit server. Then clone the repo with:
$ git clone ssh://gerrit.fd.io:29418/vpp
$ cd vpp
New patch¶
To get a new patch reviewed use the following:
git status
git add <filename>
git commit
git review
If the patch is a draft use the following:
Note
git review -D
To get back to the master:
git reset --hard origin/master
git checkout master
Existing patch¶
To modify an existing patch:
git status
git add <filename>
git commit --amend
git review