随笔分类 - git使用记录
摘要:1. 修改后,发现仓库已经有新的上传 git pull --rebase //将仓库代码同步到本地,同时将本地修改记录设置在git branch 的最上面 2. 本地commit回滚 git log //查看commit 记录 git reset --soft <commit 7位数值> //效果就
阅读全文
摘要:问题描述: git pull 时,发现已经有人修改冰上传,并且,我也在本地修改了,此时pull 会报错: error: Your local changes to the following files would be overwritten by merge: di.bsw.comm.turin
阅读全文
摘要:1. 建仓 :本地克隆云端仓库 git clone + 网址 2. 新建分支 develop git checkout -b develop gti checkout -b Modefiy 要修改的分支,一般是将修改的分支提交到 develop上,然后 develop的代码经过检验在合并到 Mast
阅读全文

浙公网安备 33010602011771号