【发布时间】:2014-06-17 15:30:38
【问题描述】:
我想在我们运行主分支和测试站点的测试服务器上克隆主分支。这个 repo 是一个 Zend PHP 框架应用程序。在配置文件@/home/me/public_html/domain.com/ZendSkeletonApplication/.git/config我现在有:
[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
我正在考虑使用 SSH 进行我的第一个 git 克隆。我觉得应该是这样的
git clone me@domain.com:~/public_html/site.com/ZendSkeletonApplication/project.git。但我当然不想复制 Zend 框架 repo,而是复制 master 分支。我如何使用 SSH 做到这一点?仓库名称是什么?
【问题讨论】:
-
似乎 repo 还没有描述:
cat description Unnamed repository; edit this file 'description' to name the repository.
标签: git zend-framework ssh git-clone