git installation needed on remote server which is access via ssh only -


i'm trying access remote machine server machine not contain git installation. question is: server machine need git installation in kind (i assume needs) work client via ssh git?

yes need git on server

without git on server, can't push/pull remote. protocol use act remotely on git repo, doesn't change this.

poor mans git

you can if need/want rsync .git directory remote server. because files in .git/objects directory based on hash, won't collisions.

that mean in principle:

# git push rsync -rv .git server:repo.git  # git pull rsync -rv server:repo.git .git git reset head --hard # here lies problem technique. 

Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -