Skip to content

Conversation

xdcheng
Copy link
Contributor

@xdcheng xdcheng commented Nov 6, 2020

Changes

Context

@HonkingGoose
Copy link
Contributor

Yes you're right! I knew for sure Git 2.25 had the command, but I didn't think to go check the individual changelog for Git.
Good catch! 😄

Quote from git 2.23 changelog on GitHub mirror of Git repository:

  • 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.

@ben
Copy link
Member

ben commented Nov 12, 2020

Nice, thanks!

@ben ben merged commit 95fdd6a into progit:master Nov 12, 2020
@xdcheng xdcheng deleted the patch-1 branch November 13, 2020 01:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants