Git使用基础教程
下面所写的其实是写给公司内部的Git使用基础教程,我在这里也记录下。
修改Git配置
windows操作系统换行配置
git config --global core.autocrlf input
用户名、邮箱配置
git config user.name yourname --local
git config user.email yourname@tudou.com --local
克隆v3代码库
git clone git@gitlab.intra.tudou.com:static/v3.git
查看分支
列出本地所有的分支
git branch
列出远程所有的分支
...