git命令
下载Git软件,打开Git Bash,选择代码管理磁盘,例如:cd /e
切换进入所需保存目录,利用git clone ...拉取仓库代码,例如:git clone http://liubiao2:13871975642Aa@ksogit.kingsoft.net/wpsyun/shortext.git(走http协议,每次都需登陆),
或者git clone git@ksogit.kingsoft.net:wpsyun/fcheck.git(走ssh协议,第一次配置账号密码,以后不需要再次输入)
走ssh协议配置账号密码见https://docs.gitlab.com/ee/ssh/
若使用Git Bash需要从master分支切换到func_beta_branch分支,如下图:
切换到
便使用命令:git checkout -b func_beta_branch --track origin/func_beta_branch
浙公网安备 33010602011771号