Skip to content

lab0/git/ #5

Open
Open

Description

@utterances-bot

二:Git - USTC OSH 2023 课程主页

https://osh-2023.github.io/lab0/git/

Activity

  1. iBug commented on Mar 30, 2023

    @iBug

    小修小改:Git 部分建议不要混用 ~ 和 ^,除非需要处理 merge commit 的情况,否则统一用 ~ 比较好。

    -`HEAD` 的上一个版本是 `HEAD^`,上上一个版本就是 `HEAD^^`
    +`HEAD` 的上一个版本是 `HEAD~`,上上一个版本就是 `HEAD~~` 或 `HEAD~2`
  2. liuly0322 commented on Mar 30, 2023

    @liuly0322
    Member

    Notes:使用前需要先配置 user.name 和 user.email,可考虑简要介绍 git 的全局和仓库 config 的概念

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions