Retrieve string information from Git project NodeJS
The information retrieved as the form:
branch@commit
Only the getVersion(callback)
function is exposed in the module as of now.
require("git-version")(console.log);
displays
master@11a1d1db4b6952192e859ff5f499cf59d4c95ed4
Copyright (c) 2018, Weaverize SAS. All rights reserved. Contact: [email protected].