git commit and mood + lastfm
many developers push their code to git repo with funny or sometimes silly comments (i do that sometimes) like this whatthecommit site, but maybe it will be more hips (like hipsters do) if i can fetch last.fm api from current listened music and add them to my commit message.
here's the idea
$ git commit -m "fixing some bugs $(last_fm)"
the last command is to insert my last.fm current track.
so if we browse the log it will be shown "fixing some bugs while listening to U2 - Stay"
. if i don't listened any track, it will return "with no music"
(or any other message).
here's the gists on github of course
- copy pasting from my blogpost at notes.dedenf.com *
Written by Deden Fathurahman
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Php
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#