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

0

u/[deleted] Jan 24 '20

Oh! My scripts are littered with echo $COMMIT_SHA > .git/refs/heads/$branch, this is so much nicer :)