Geting git repo from windows to mac
Trying simple clone:
192-168-0-100:shop nonamez$ git clone "firstname.lastname@example.org/var/www/html/s1" fatal: repository 'email@example.com/var/www/html/s1' does not exist 192-168-0-100:shop nonamez$ git clone "git://firstname.lastname@example.org/var/www/html/s1" fatal: could not create work tree dir 's1'.: No such file or directory
Only works windows version
git.exe clone --progress -v "email@example.com:/var/www/html/s1" "C:\Users\Desktop\Projektai\s11"
But it creates filder with name
One Solution collect form web for “Geting git repo from windows to mac”
firstname.lastname@example.org/var/www/html/s1, you probably want
These 2 representations I provided are equivalent. Note the colon in the first representation. The first is essentially a shorthand of the second. Both of these use ssh as the underlying protocol.
git:// is a different one which uses a native protocol.
For more details on git url, type
git help clone or visit here, and go to section “GIT URLS”.