骆言 2022-10-05 10:17 采纳率: 91.7%
浏览 822
已结题

请问 Git 如何管理版本?

问题如下:

如何:

  1. 创建版本库 init
  2. 关联远程版本库 remote
  3. 暂存、提交 add、commit
  4. 克隆 clone

img

  • 写回答

2条回答 默认 最新

  • 骆言 2022-10-05 10:20
    关注

    【笔记】【一文解决】Git 命令行/资料『整理』

    https://lawsssscat.blog.csdn.net/article/details/103386802#__init_81

    创建版本库 init

    关联远程版本库 remote

    暂存、提交 add、commit

    ⭐️ 概念:作区(working directory)和版本库(repository)、暂存区(stage)
    概念:文件状态周期

    克隆 clone

    --depth 1

    日志 log、reflog

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

问题事件

  • 系统已结题 10月13日
  • 已采纳回答 10月5日
  • 修改了问题 10月5日
  • 创建了问题 10月5日