Git over ssh without Git being installed on server

后端 未结 3 1371
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-16 03:33

I have full access to some folder on a remote Linux server over ssh and scp. I can upload and download files but not install apps. Now I want to put a git repository on th

相关标签:
3条回答
  • 2020-12-16 04:00

    I think that git needs to be there. But you can simply install it in the directory you have access to.

    0 讨论(0)
  • 2020-12-16 04:04

    You would need enhanced access for SSHFS, I would imagine.

    This would be a really cool addition to Git, and I believe there is some way to do it, though I haven't found it... yet. I am using git in combination with rsync to the remote server for a similar situation.

    0 讨论(0)
  • 2020-12-16 04:07

    You could use SSHFS and mount the directory on your local machine, and then run Git locally.

    0 讨论(0)
提交回复
热议问题