将沙哑(git钩)添加到Azure Devops项目中
我的存储库位于Azuredevops上,然后通过按钮将其克隆为:“克隆在VS代码中”。存储库正确克隆。我有来自package.json,.gitignore等的文件...
但是我没有.git文件夹。我想安装一些工具来标准化代码提交。我尝试安装Husky 7,但没有找到真正不存在的.git文件夹。
是否有任何方法可以在Azure Devops中使用Git挂钩作为存储库?
还有其他用于在Azure DevOps存储库中使用的提交的工具吗?
当我尝试安装赫斯基时,我会得到一个错误:.git找不到(请参阅 https://git.io https:/git.io /jc3f9 )
husky -v = ^7.0.0,
npm -v = 6.14.12
My repository is on AzureDevops, and I cloned it by the button: "Clone in VS Code". The repository was cloned correctly. I have the files from package.json, .gitignore, etc...
But I don't have a .git folder. And I would like to install some tool to standardize code commits. I try to install husky 7 but it doesn't find the .git folder which doesn't really exist.
Is there any way to use git hooks for the repository within Azure Devops?
Is there any other tool for standardizing commits that works in an Azure Devops repository?
When i try to install husky, i get that error: .git can't be found (see https://git.io/Jc3F9)
husky -v = ^7.0.0,
npm -v = 6.14.12
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论