Hi, I am a newbie with git. I have a linux server(centos 6.2) where i store
code and host my website. 2 more guys work with me and we are learning very
fast. We all work from windows machine using cygwin. I am wondering, how to
quickly set-up a git repo on server and then be able to push and pull from
our computers. This is what i did:
*On Linux server: *in the folder /home/user1/ I did
1. "git init" (this created a .git folder in the current folder)
2. created "HelloGit.c" file and commited it to the repo
*Now on Windows machine using cygwin,* I am tryin to pull this repo by
trying these, none of which work
1. "git clone user1@hostname:/home/user1/.git" (This doesn't work)
2. I tried to create a bare repo and pull on this, so "git init --bare" and
"git clone user1@hostname:/home/user1/.git" and still it doesn't work .
Any help would be great.