Post

your outie uses git checkout -b rather than git switch -c

97 reposts596 likes

your outie memoises components using let Component = () => { … } Component = React.memo(Component) rather than const Component = React.memo(() => { … }) Component.displayName = “Component”

we still use yarn 1 at bluesky which is why it came to mind lol also I think they’re more supposed to be ambiguously positive but also slightly idiosyncratic and unique

you, me, and literally everyone else in these comments it seems lol. I only found out about it recently cause I was googling basic git commands 😭

when i first heard "hey you should use git switch" it was like, two years ago. and i was like "sorry i don't use newfangled commands until they make it into the distro package" and that's when i learn switch landed in august 2019. oops, lol

it’s like several commands confusingly crammed into one so it’s been superseded by the more idiomatic git switch and git restore

Ok, but it realistically completes *one* task: checking out a new branch. Why would that even need to be multiple commands?

I just make multiple clones and use each full clone as its own unique branch and then manually copy and paste the changes back into the original clone and then push that after deleting .git and re-initialising. All my github repositories have only one commit. I look like a god of coding!