- git 克隆远程指定分支
命令如下:
git clone -b <branch name> [remote repository address]
主要就是在clone的时候,后面添加branch的信息。
附:GIT列出远程分支信息
git branch -r
- git记住账号密码
命令如下:
git config --global credential.helper store
git clone -b <branch name> [remote repository address]
主要就是在clone的时候,后面添加branch的信息。
附:GIT列出远程分支信息
git branch -r
git config --global credential.helper store
本文标题:git 使用日记
本文链接:https://www.haomeiwen.com/subject/pdcxfxtx.html
网友评论