Skip to content
This repository was archived by the owner on Oct 10, 2025. It is now read-only.
This repository was archived by the owner on Oct 10, 2025. It is now read-only.

New git switch and git restore commands added in 2019 #8

Description

@amiryal

From the release notes:

  • Two new commands "git switch" and "git restore" are introduced to
    split "checking out a branch to work on advancing its history" and
    "checking out paths out of the index and/or a tree-ish to work on
    advancing the current history" out of the single "git checkout"
    command.

My questions are:

  1. How would you feel about a patch that rewrites the confusion about checkout versus reset section in what/gcs.mkd to feature the twe new commands, and only mention git checkout as a legacy command?
  2. Would you rather wait for such a patch, or rewrite the section by yourself?

Activity

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions