Git How to Remote Add Origin With SSH Custom Port

November 21, 2011 | By Duchateaux.

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.

QuickChic Theme • Powered by WordPress