Do you use `git checkout` still? Stop.

Meet `git switch` and `git restore`.

I've totally switched (:blobcatfacepalm:) to `git switch`. If you want to incorporate it in your everyday routine, consider remembering useful `-c` and `-d` options.

git-scm.com/docs/git-switch

git-scm.com/docs/git-restore

Follow

@lig I’ve tried restore but I like reset better. Maybe that’s because it was meant to replace checkout instead, but I lost some changes I meant to keep because of it.

· · Tootle for Mastodon · 1 · 0 · 1

@IslandUsurper well, restore isn't a replacement for reset, indeed.
"reset" is here to stay for a while.

Sign in to participate in the conversation
Fosstodon

Fosstodon is an English speaking Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.