LINUX

首页 -  LINUX  -  git clone 项目到本地指定目录

git clone 项目到本地指定目录

填写远程和本地项目路径,这样就会将服务器上项目代码克隆到本地了。

git -c diff.mnemonicprefix=false -c core.quotepath=false clone --recursive https://git.coding.net/gamedaybyday/HelloGit.git D:\Git\HelloGit

 简单写法:

git clone https://git.coding.net/gamedaybyday/HelloGit.git D:\Git\HelloGit

添加文件

git add .

提交

git commit -m '备注'

拉取

git pull

推送

git push


(173)
分享:

本文由:xiaoshu168 作者:xiaoshu发表,转载请注明来源!

标签:

相关阅读