I would like to make a clone of the lead branch on the test server, where we have the main branch and the test site. This repo is a Zend PHP Framework Application. In the configuration file @ /home/me/public_html/domain.com/ZendSkeletonApplication/.git/config I have now:
[core] repositoryformatversion = 0 filemode = true bare = false logallrefupdates = true [remote "origin"] fetch = +refs/heads/*:refs/remotes/origin/* url = git://github.com/zendframework/ZendSkeletonApplication.git [branch "master"] remote = origin merge = refs/heads/master
I was considering making my first git clone using SSH. I think it should be something like
git clone me@domain.com :~/public_html/site.com/ZendSkeletonApplication/project.git . But, of course, I do not want to copy the repository of the Zend framework, but the master branch. How can I do this using SSH? What will the repo name be?
git git-clone ssh zend-framework
rhand
source share