[Insight-developers] Pulling from Gerrit

Brad King brad.king at kitware.com
Mon Aug 30 11:44:07 EDT 2010


On 08/30/2010 11:38 AM, Bill Lorensen wrote:
> I tried to pull some code for review from gerrit. The e-mail message told me to:
> git pull ssh://review.source.kitware.com:29418/ITK refs/changes/27/27/1

The email should not have had this particular URL.  We are running
Gerrit on ssh port 22, not 29418.  I'll check if it can be fixed in
the server config.

> Following the wiki instructions I did this:
> git remote add gerrit lorensen at review.source.kitware.com:ITK

Good.

> When I did:
> git pull ssh://review.source.kitware.com:29418/ITK refs/changes/27/27/1

Replace "ssh://review.source.kitware.com:29418/ITK" with "gerrit".
Git recognizes the symbolic remote name and will replace it with
the URL you already configured.  Meanwhile I'll see if I can get
the server config fixed.

-Brad


More information about the Insight-developers mailing list