Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The latest ONOS source can then be checked out cloned using git:

Code Block
languagetext
$ git clone https://gerrit.onosproject.org/onos

This clones the repository to your home directory, under a directory named onos.

Updating an existing repository

If you have already cloned an earlier version of the repository, you can update it using the following git commands:

Code Block
$ cd onos
$ git checkout master             # checks out 'master' as the working branch
$ git pull --rebase origin master # pulls the latest code from Gerrit, and rebases any local changes onto origin/master

In order to checkout the stable, release version of ONOS, do the following once you cloned the repository:

Code Block
languagetext
$ cd onos
$ git checkout 1.1.0    # checks out the official release tag
# --- or ---
$ git checkout onos-1.1 # checks out the Blackbird maintenance branch

Maven Artifacts

The artifacts have been pushed to Maven Central Repository

...