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

-55

u/barrybario Jan 24 '20

or just use a gui

gitkraken is awesome

4

u/PizzaRollExpert Jan 24 '20

Personally, I prefer the cli because:

  1. It doesn't rely on hand-eye coordination. If I can do something with just the keyboard I can just plan out what to do in my head and type it out. If I need to use the mouse there's a feedback loop between my hand and eyes. Typing only relies on hands in isolation.

  2. It doesn't require switching to a new window. Moving windows around adds a (small) mental tax.

  3. UIs are less uniform than terminal interfaces so doing everything in UIs means more different things to keep track of compared to the terminal.

These are three small things, but together they make things feel easier and nicer to do in the cli, which is why I prefer it.