2022年7月26日

【git】2.4 撤销操作

摘要: 资料来源 (1) https://git-scm.com/book/zh/v2/Git-%E5%9F%BA%E7%A1%80-%E6%92%A4%E6%B6%88%E6%93%8D%E4%BD%9C 1.撤销操作 (1) 场景:提交后发现漏掉几个文件没有添加或者提交信息写错了; (2) 措施: gi 阅读全文

posted @ 2022-07-26 16:02 _见贤_思齐 阅读(40) 评论(0) 推荐(0) 编辑

【git】2.3查看提交历史

摘要: 资料来源 (1) https://git-scm.com/book/zh/v2/Git-%E5%9F%BA%E7%A1%80-%E6%9F%A5%E7%9C%8B%E6%8F%90%E4%BA%A4%E5%8E%86%E5%8F%B2 1.查看提交历史 1.1 git log (不传参数) (1)  阅读全文

posted @ 2022-07-26 14:29 _见贤_思齐 阅读(460) 评论(0) 推荐(0) 编辑

【git】2.1 获取git仓库

摘要: 资料来源 (1) https://git-scm.com/book/zh/v2/Git-%E5%9F%BA%E7%A1%80-%E8%8E%B7%E5%8F%96-Git-%E4%BB%93%E5%BA%93 1.将尚未进行版本控制的本地目录转换为git仓库; (1) cd dir_path (2) 阅读全文

posted @ 2022-07-26 13:57 _见贤_思齐 阅读(71) 评论(0) 推荐(0) 编辑

导航