Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mroth/git-muzak
:notes: Background music for your git commits
https://github.com/mroth/git-muzak
git git-addons humor
Last synced: 2 months ago
JSON representation
:notes: Background music for your git commits
- Host: GitHub
- URL: https://github.com/mroth/git-muzak
- Owner: mroth
- Created: 2017-01-21T16:30:53.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-01-21T18:35:10.000Z (about 8 years ago)
- Last Synced: 2024-08-03T02:02:35.979Z (6 months ago)
- Topics: git, git-addons, humor
- Language: Shell
- Homepage:
- Size: 5.86 KB
- Stars: 36
- Watchers: 3
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-hilarious-repos - Git Musak - Inserts the currently playing iTunes or Spotify track in your git commit messages (Git Related)
README
# git-muzak
> Background music for your git commitsInserts 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](https://cloud.githubusercontent.com/assets/40650/22171332/3c3ce1f2-df59-11e6-8215-aa20c4570560.png)
If you are doing a quick commit message e.g. with `-m`, things will still work:
![git-music-results-github-app-ss](https://cloud.githubusercontent.com/assets/40650/22171382/a0c1ca4c-df5a-11e6-8b83-835cafaf9602.png)
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-muzakBehind the scenes, this will symlink the script as the `prepare-commit-msg` git hook.