Skip to content

Instantly share code, notes, and snippets.

@parezcoydigo
Created November 9, 2015 23:12
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parezcoydigo/0b42dbd687ae3b838728 to your computer and use it in GitHub Desktop.
Save parezcoydigo/0b42dbd687ae3b838728 to your computer and use it in GitHub Desktop.
#! /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