79359019

Date: 2025-01-15 16:39:43
Score: 2
Natty:
Report link

Edit the "config" file located in the .git dir of your repo and find the line that begins with "url =" under "[remote "origin"]".

Change the line to this, "url = ssh://[email protected]:port#/remote/dir"

example: url = ssh://[email protected]:2222/srv/dir/files

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Slowcooked