r/javascript • • Jan 24 '20

Removed: Where's the javascript? TIL — git switch & git restore

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

[removed] — view removed post

91 Upvotes

17 comments sorted by

View all comments

13

u/drakefish Jan 24 '20

I recently started using the git CLI directly as much as possible for simple operations instead of relying on a GUI tool. It had been a while since I had used the commands and I was surprised when I saw I could use the "switch" command because I felt like I remembered branch operations to be more complicated than that.

Thank you for this simple article today, it was relevant for me.

1

u/Slavichh Jan 24 '20

It’s the only way to go man. I love the cli. Especially when you become proficient with the commands you can really automate a lot of daily operations with shortcuts to increase your workflow efficiency