随笔分类 - 版本控制
摘要:有时git库里的东西比较多,我们只希望像SVN一样,只拉取git库的一个目录。 例如:基础代码仓库infra-code_ops有很多基础代码,我们只想拉取仓库里nginx-conf目录的文件。 $ git init infra-code_ops-nginx && cd infra-code_ops-
阅读全文
摘要:一、 Git clone仓库的几个说明 1. git branch -r //查看远程分支 origin/HEAD -> origin/master origin/developorigin/fixbug origin/master 2. git clone http://XXX //默认会在本地创
阅读全文