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
Post a Comment