Versions Compared

Key

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

...

Regenerating a password will most likely solve the connectivity issue. Sometime, the Gerrit interface on HTTPS might be temporarily faulty, so retries might be needed.

Cloning the Repository by Using the Command Line

  1. Add a remote pointer to the Gerrit server that hosts your repository. (behind the company VPN Windows users will use the alternate command)

    Using SSH:

    git remote add origin ssh://USERNAME@gerrit.openecomp.org:29418/<REPONAME>

    Using HTTPS:

    With HTTPS, first you will need the Gerrit HTTP-generated password for each HTTPS operation with Git/Gerrit:

    git remote add origin https://USERNAME@gerrit.openecomp.org/r/a/<REPONAME>
     
  2. Now clone the remote repository (because the repo already contains a commit from the Linux Foundation team that created it). Since we clone in the current folder, it will create a sub folder with the remote copy.


Using SSH:

git clone ssh://USERNAME@gerrit.openecomp.org:29418/<REPONAME>



Using HTTPS

(you'll need the gerrit HTTP generated password for each HTTPS operation with git/gerrit)

git clone https://USERNAME@gerrit.openecomp.org/r/a/<REPONAME>

git clone https://USERNAME@gerrit.openecomp.org/r/a/<REPONAME>