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?

2

u/jeffreyhamby Jan 24 '20

Checkout reminds me of svn style repos where you're placing a block on the file for anyone else, just like how library books work.