I have a server (Linux, Debian) and my client (Windows). Currently I just copy my files over ssh to the server. Now I want to be cool and use git.
I am trying this for a long time now and I am not sure what my question is. I created repositories on server and client. Commited my files but failed to push/pull/clone with IDE/GUI/console. Finally I managed to clone from command line. Just to find out that push does still not work.
Do I need a bare repository? Looks like bare repositories don’t have any files so I need two repositories an my server? Do I have to make a manual checkout on the server every time? I thought I can just push it there…
The git community documentation extensively explains how to use a remote repository over ssh and how to set one up you should read the documentation.
http://book.git-scm.com/4_setting_up_a_private_repository.html