摘要: 转自:https://www.liaoxuefeng.com/wiki/896043488029600/897013573512192 https://vue3js.cn/interview/git/git%20reset_%20git%20revert.html#一、是什么 1.reset命令 r 阅读全文
posted @ 2022-08-20 22:34 lypbendlf 阅读(85) 评论(0) 推荐(0) 编辑
摘要: 1.将本地和远程分支建立映射关系 转自:https://lhajh.github.io/git/2017/01/20/git-local-branch-and-remote-branch-establish-mapping-relationship.html 建立本地分支与远程分支的映射关系(或者为 阅读全文
posted @ 2022-08-20 18:15 lypbendlf 阅读(75) 评论(0) 推荐(0) 编辑
摘要: 转自:https://juejin.cn/post/6844903654311510030 1.工作区、暂存区、版本库 工作区(Working Directory) 是直接编辑的地方,直接操作。 暂存区(Stage 或 Index) 数据暂时存放的区域。 版本库(commit History) 存放 阅读全文
posted @ 2022-08-20 17:56 lypbendlf 阅读(250) 评论(0) 推荐(0) 编辑
摘要: 转自:https://juejin.cn/post/6844903986839945229 1.内容 .git% ls -lh total 40 -rw-r--r-- 1 x staff 15B 8 10 00:20 COMMIT_EDITMSG -rw-r--r-- 1 x staff 23B 8 阅读全文
posted @ 2022-08-20 16:43 lypbendlf 阅读(546) 评论(0) 推荐(0) 编辑