个人资源与分享网站: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