Skip to content

Instantly share code, notes, and snippets.

@yuanliwei
Created May 6, 2019 04:37
Show Gist options
  • Save yuanliwei/b2a1cc4b0819cd36afe6cb9e6c921e2e to your computer and use it in GitHub Desktop.
Save yuanliwei/b2a1cc4b0819cd36afe6cb9e6c921e2e to your computer and use it in GitHub Desktop.
grovvy decode.md

def author=new String(IOGroovyMethods.getBytes("git config --get user.name".execute().getInputStream()), 'utf-8').trim()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment