Commit 2c9421f0 authored by shangbj's avatar shangbj

'update'

parent 99b4ae99
node_modules
\ No newline at end of file
const getRepoInfo = require('git-repo-info')
const info = getRepoInfo();
console.log(info.commitMessage)
\ No newline at end of file
{
"name": "git-hooks-test",
"version": "1.0.0",
"description": "git钩子测试",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git@gitlab.41bj.com:shangbj/git-hooks-test.git"
},
"husky": {
"hooks": {
"pre-commit": "node ./build/hooks.js"
}
},
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"git-branch-is": "^3.1.0",
"git-repo-info": "^2.1.1",
"husky": "^4.2.3"
}
}
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment