1 2 3 4 5 6 7 8 9 不想要的本地分支,使用大写的-D参数删除 git branch -D xxx 删除远程origin主机的xxx分支 git push origin --delete xxx
1 2 3 4 5 6 7 8 9
不想要的本地分支,使用大写的-D参数删除 git branch -D xxx 删除远程origin主机的xxx分支 git push origin --delete xxx
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++系列13:using与typedef
git系列4:push推送