Created
November 9, 2015 23:12
-
-
Save parezcoydigo/0b42dbd687ae3b838728 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env python | |
import git | |
from time import localtime, strftime | |
from subprocess import call | |
crime = git.Repo("/Users/chadblack/Projects/crime") | |
call(["jrnl",strftime("%H:%M", localtime(crime.head.commit.committed_date))+":",crime.head.commit.message,"@"+crime.description]) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment