摘要:
git冲突 Your local changes to the following files would be overwritten by merge... 在使用git pull命令更新代码时遇到的如下错误: // Your local changes to the following fil 阅读全文
posted @ 2021-01-06 15:18
背锅侠-渣渣关😩
阅读(91)
评论(0)
推荐(0)
摘要:
git合并分支并提交 git status git add . git commit -m "修改" git push 分支名 git checkout '需要切换的分支名' git pull git merge '需要合并的子分支' git push '主分支' git checkout '子分支 阅读全文
posted @ 2021-01-06 15:02
背锅侠-渣渣关😩
阅读(213)
评论(0)
推荐(0)
摘要:
如何删除git上的远程文件夹 ###方法1: 这里以删除test文件夹为案例 git rm -r --cached test //--cached不会把本地的test删除 git commit -m 'delete test dir' git push origin master ###方法2: 如 阅读全文
posted @ 2021-01-06 14:44
背锅侠-渣渣关😩
阅读(354)
评论(0)
推荐(0)
摘要:
1.从github上clone代码到本地 并切换到新建的分支 git init 初始化 git remote add origin http://gitlab.xxx.com/xxx/xxx.git //增加远程仓库 git clone http://gitlab.xxx.com/xxx/xxx.g 阅读全文
posted @ 2021-01-06 14:22
背锅侠-渣渣关😩
阅读(89)
评论(0)
推荐(0)
摘要:
方法1: npm install rimraf -g rimraf node_modules 方法2: rmdir /s/q node_modules 方法3: rm -f /node_modules 阅读全文
posted @ 2021-01-06 11:49
背锅侠-渣渣关😩
阅读(70)
评论(0)
推荐(0)

浙公网安备 33010602011771号