Skip to main content

All Questions

Tagged with
9 votes
1 answer
4k views

How to pass current datetime in npm script for git commit message in Windows and cross platform?

I am working in Windows 10 and trying to use npm script for git commit with message that includes date and time of the commit: "deploy": "cd dist && git add . && git commit -m \"...
ChrisK's user avatar
  • 151