0.0.9 • Published 3 years ago
branch-dance v0.0.9
branch dance
theme music for your branches
requirements
- macos or linux
- git (obviously)
- spotify-tui (set it up)
setup
npx branch-dancealternatively manual install
install 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" >> MUSICusage
after 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