git 使用日记
2017-05-26 本文已影响0人
醉枫浅墨
- 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