Skip to content

Instantly share code, notes, and snippets.

@kraihn
Created June 4, 2015 19:34
Show Gist options
  • Select an option

  • Save kraihn/1f48336016fa689df2d2 to your computer and use it in GitHub Desktop.

Select an option

Save kraihn/1f48336016fa689df2d2 to your computer and use it in GitHub Desktop.
Prefix Commit Message with Jira Issue on Windows
@node "%~dp0prepare-commit-msg" %*
@kraihn
Copy link
Author

kraihn commented Jun 4, 2015

This file is used to execute a Node.js script as a Windows command.

https://gist.github.com/kraihn/56f487d328c2b975cc54

Based on a comment found on this blog post. http://www.2ality.com/2011/12/nodejs-shell-scripting.html

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