In git one could do this:
git clone ssh://[email protected]:2222/home/user/gitRepo/myRepo /home/user/localrepo
to clone a remote repo with ssh and a non-standard port (in this example: 2222).
Can the same be done with Magit2.0? Using the above format fails with an error that Magit is trying to user port 22
M-x shell
? Does it work fromM-x eshell
? DoesM-x magit-version
give the same version asgit --version
from the command line?magit-clone
simply callsgit clone
: github.com/magit/magit/blob/2.3.1/lisp/magit-remote.el#L42-L48.git
is optional in that regexp).