Git How-to Remote Add Origin with SSH Custom Port

November 21st, 2011 by Regaz
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 Git Guides.


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

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


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: , ,