git - is it possible to checkout to different server through ssh -


i'm trying checkout develop branch testing environment on different server this:

git --work-tree=ssh://user@env.example.com/path/to/folder checkout -f develop

however, following error when run script:

fatal: not switch 'ssh://maximus@testenv.inreado.com/var/www': ??? ?????? ????? ??? ????????

is possible checkout through ssh? if so, problem? works fine if checkout local directory

don't need pull remote branch?

git pull ssh://user@env.example.com/path/to/folder develop

ie.

git pull remoteserver branchname


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -