Home   Notes   Contact Me

Xcode

Local

External


Connecting to a Remote git Repository on Windows in cygwin

A reference I used to figure this out: http://www.jedi.be/blog/2009/05/06/8-ways-to-share-your-git-repository/

# on the Windows machine mkdir Test6.git cd Test6.git git init --bare # from Xcode * Create the project * Have it make a local git repository # from a bash shell on a Mac * go to the directory the project is in * ls -l to make sure there is a .git directory there git remote add origin ssh://petritis@192.168.1.201/cygdrive/n/Preserve/Repositories/git/Test6.git git push origin master # On another machine elsewhere try git clone ssh://petritis@192.168.1.201/cygdrive/n/Preserve/Repositories/git/Test6.git * see that it got a copy of the code!