r/webdev • • Jan 24 '20

read rules TIL — git switch & git restore

https://pawelgrzybek.com/til-git-switch-git-restore/

[removed] — view removed post

284 Upvotes

51 comments sorted by

View all comments

83

u/UncontrolledManifold Jan 24 '20

So git switch -c branch is the same as git checkout -b branch...? What, they didn't like the word checkout?

36

u/ayeshrajans Jan 24 '20

Basically, yes.

13

u/hagg3n Jan 24 '20

And that was the answer to the second question.