Skip to content

Conversation

HonkingGoose
Copy link
Contributor

@HonkingGoose HonkingGoose commented Aug 21, 2020

Changes

  • Update Git's detached HEAD help message, as it now uses git switch instead of git checkout to help users get back to a previous HEAD state.

Context

From at least Git version 2.25.1, the detached HEAD advice text is changed. It now uses git switch instead of git checkout.

I searched for detached HEAD in the whole book and this is the only place where the Git command-line output is shown.

After merging, this would be the only place in the book where git switch is used.
@ben, do you want me to make a pull-request for a section explaining git switch?

@ben ben merged commit 1ca7786 into progit:master Aug 28, 2020
@HonkingGoose HonkingGoose deleted the update-git-detached-head-help-message branch August 28, 2020 18:17
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