個人資源與分享網站:http://xiaocaoshare.com/
1.註冊GitHub賬號,登錄
2.創建一個新的資源庫
3.本地操作:
3.1 git clone 資源庫地址
把你要上傳的項目拷貝進來
3.2提交代碼
git add .
git commit -m "SpringBoot整合webSocket"
git push -u origin master
個人資源與分享網站:http://xiaocaoshare.com/
1.註冊GitHub賬號,登錄
2.創建一個新的資源庫
3.本地操作:
3.1 git clone 資源庫地址
把你要上傳的項目拷貝進來
3.2提交代碼
git add .
git commit -m "SpringBoot整合webSocket"
git push -u origin master
fetch ---> merge ---> 修改文件 ---> add to index ---> commit 就不會衝突了
一、登錄gitlab 地址,如:http:18.5.198.205:9080 二、創建SSH 在gitlab 上找到setting, 點擊SSH keys 點擊 generate one 找到RSA
https://www.cnblogs.com/651434092qq/p/11015901.html
Gerrit上分支操作記錄(創建分支、刪除分支) https://www.cnblogs.com/kevingrace/p/5688724.html
項目中遇到提交代碼,通過git commit --amend不覆蓋之前提交代碼,原因記錄如下: D:\gerrit\DT\iSearch\.git\hooks中缺少文件commit-msg