git clone https://bitbucket.org/chromiumembedded/cef.git -b 6099
其中-b表示clone远端的6099分支,但同时也会拉取其它远端分支的信息。
如果不想拉取其它远端分支的信息,只想要6099这一个分支的信息,需要加上--single-branch选项。
--single-branch
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 git经常提示 LF will be replaced by CRLF是什么原因 Windows平台上: 使用回车(CR)和换行(LF)两个字符来结束一行,回车+换行(CR+LF),即“\r\n”; Mac 和 Linux平台:只使用换行(LF)一个字符来结束一行,即“\n”...
提交时Commit message 包括三个部分:Header,Body 和 Footer。(一般只要Header部分) 1 2 3 4 5 <type>(<scope>): <subject> // 空一行 <body> // 空一行 <footer> 其中,Header 是必需的,Header里面:type(必需)、sco...
本地服务器 1 2 3 4 git init --bare star.git cd star.git pwd /c/Users/elesos/laravel_code/aa/star.git 然后 1 git clone /c/Users/elesos/laravel_code/aa/star.git 在Linux上搭建git服务器 后面注释部分为Ubuntu平台 1 yum...
AI系列1:几个工具
chromium系列3:查看源码版本