随笔分类 - git
摘要:git checkout -b issue 当使用命令git checkout -b [MYBRANCH] [REMOTE_BRANCH] 用于创建一个新的本地分支并从远程分支拉取代码时出现:The following untracked working tree files would be ov
阅读全文
摘要:https://gitee.com/progit/index.html
阅读全文
摘要:git add 添加 多余文件 这样的错误是由于, 有的时候 可能 git add . (空格+ 点) 表示当前目录所有文件,不小心就会提交其他文件 git add 如果添加了错误的文件的话 撤销操作 git status 先看一下add 中的文件 git reset HEAD 如果后面什么都不跟的
阅读全文
摘要:Git reset Some times we made many commit during PR , we want to combine them to one commit We can see, I create 4 commits totally. 1 backup the branch
阅读全文