有些分支在远端其实早就被删除了,但是在你本地依然可以看见这些被删除的分支。
清理远端不需要的分支:
1 git remote prune origin
1
git remote prune origin
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...
C++系列2:宏定义时#(井号)和##(双井号)的作用
Qt官方示例解析系列7:Fortune Server and Client