在平常使用经常的进入到你所在的git目录下才能拉去项目,为了省事请直接可以采用下面的方式,不用进入到你所在的git仓库目录直接拉取
git --git-dir=/opt/software/vela-web-application/ProjectCodes/common_server/.git --work-tree=/opt/software/vela-web-applicationb/ProjectCodes/common_server/ pull
git指定目录直接pull
阅读 81
2023-11-06
在平常使用经常的进入到你所在的git目录下才能拉去项目,为了省事请直接可以采用下面的方式,不用进入到你所在的git仓库目录直接拉取
git --git-dir=/opt/software/vela-web-application/ProjectCodes/common_server/.git --work-tree=/opt/software/vela-web-applicationb/ProjectCodes/common_server/ pull
相关推荐
精彩评论(0)