Skip to content

mroth/git-muzak

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

git-muzak

Background music for your git commits

Inserts the currently playing iTunes or Spotify track in your git commit messages.

This is done in the "prepared" message, so you can still edit it in your $EDITOR if you decide the track is too awesome or something.

git-music-ss2

If you are doing a quick commit message e.g. with -m, things will still work:

git-music-results-github-app-ss

Requires a macOS environment (for now).

Installation

Clone this repository and copy the git-muzak.sh script to somewhere in your $PATH, with your desired name, e.g.:

cp git-muzak.sh /usr/local/bin/git-muzak

For simplicity, this is exactly what is done for you via make install.

Usage

To enable for a git repository, once you are somewhere inside its directory, simply do git muzak --install.

$ git muzak --install
√♬  Linked .git/hooks/prepare-commit-msg to /usr/local/bin/git-muzak

Behind the scenes, this will symlink the script as the prepare-commit-msg git hook.

About

🎶 Background music for your git commits

Topics

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published