Skip to content

Instantly share code, notes, and snippets.

@schuyler1d
Forked from veltman/gist:28c9ec655ccaa0295476
Last active August 29, 2015 14:02
Show Gist options
  • Save schuyler1d/ccafb617d6b41588813e to your computer and use it in GitHub Desktop.
Save schuyler1d/ccafb617d6b41588813e to your computer and use it in GitHub Desktop.
project = 'hi'
commit = None
with lcd("%s" % (project)):
commit = local("git log -g --pretty=%B -n 1")
print commit #This prints the right message
print commit # This doesn't
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment