随笔分类 -  git

摘要:git checkout -b issue 当使用命令git checkout -b [MYBRANCH] [REMOTE_BRANCH] 用于创建一个新的本地分支并从远程分支拉取代码时出现:The following untracked working tree files would be ov 阅读全文
posted @ 2022-01-19 16:19 安小白learning 阅读(164) 评论(0) 推荐(0) 编辑
摘要:https://gitee.com/progit/index.html 阅读全文
posted @ 2021-08-24 19:01 安小白learning 阅读(164) 评论(0) 推荐(0) 编辑
摘要:git add 添加 多余文件 这样的错误是由于, 有的时候 可能 git add . (空格+ 点) 表示当前目录所有文件,不小心就会提交其他文件 git add 如果添加了错误的文件的话 撤销操作 git status 先看一下add 中的文件 git reset HEAD 如果后面什么都不跟的 阅读全文
posted @ 2021-08-24 18:56 安小白learning 阅读(61) 评论(0) 推荐(0) 编辑
摘要: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 阅读全文
posted @ 2021-07-16 23:27 安小白learning 阅读(69) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示