Skip to content

Conversation

@Lenormju
Copy link

@Lenormju Lenormju commented Oct 8, 2024

Since 2023, Git recommends using git switch and git restore over git checkout because it makes clearer what they do, and they have safer defaults.
See : https://github.blog/open-source/git/highlights-from-git-2-23/#experimental-alternatives-for-git-checkout
I offer to update your cheatsheet with these recommendations.

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.

1 participant