theme music for your branches
- macos or linux
- git (obviously)
- spotify-tui (set it up)
npx branch-danceinstall the hook by grabbing post-checkout from the repo and putting it in your .git/hooks directory
$ mv post-checkout .git/hooks/post-checkoutconfigure music per branch using spotify uris. the script reads MUSIC file in your repo's root.
$ echo "main=spotify:track:7E6VM4eg8ADYdgbMnXO97d" >> MUSICafter setup start switching branches while spotify is on
$ git checkout main
Switched to branch 'main'
▶ Komm, süsser Tod - Astrophysicsconfigure branches and tracks/albums using spotify uris in MUSIC file in your repo's root