随笔分类 -  常用仓库-git

摘要:git branch -m master developgit push origin develop 阅读全文
posted @ 2022-02-27 10:58 拉诺 阅读(36) 评论(0) 推荐(0)
摘要:git迭代版本不同 以后建议先pull拉下项目,看有没有报错,保证之前没别人提交过push。再push一次 要是只有一个人开发,可以选择强行合并,覆盖之前的代码 git pull origin master --allow-unrelated-histories 阅读全文
posted @ 2022-02-27 10:32 拉诺 阅读(32) 评论(0) 推荐(0)
摘要:清空git缓存git rm -r --cached .git add .git commit -m 'update .gitignore' 阅读全文
posted @ 2021-12-16 22:25 拉诺 阅读(58) 评论(0) 推荐(0)