Git How to Remote Add Origin with SSH Custom Port

November 21, 2011 | By Regaz | Filed in: Uncategorized.

The Article shows you How to Add a Remote Origin to a GIT Repository with Custom SSH Port.

To the Bottom you Find also Link to Others Interesting tutorialforlinux.com Git Guides.

Git CVS

The complete Command to Add a Remote Repository with Connection over SSH with Port Number Parameter is:

git remote add origin ssh://USERNAME@:/ToRepository> 

Example:

git remote add origin ssh://bob@besthost:2222/home/bob/repo.git

Git How to Unstage Already Staged Changes.

Git Unstage Changes

Git How to Push To Remote Repository.

Git Quick Start

Tags: , ,