Skip to content

Instantly share code, notes, and snippets.

@veltman
Created June 6, 2014 18:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save veltman/28c9ec655ccaa0295476 to your computer and use it in GitHub Desktop.
Save veltman/28c9ec655ccaa0295476 to your computer and use it in GitHub Desktop.
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