随笔分类 - GIT
摘要:> running pre-commit hook: lint-staged'lint-staged' is not recognized as an internal or external command,operable program or batch file. pre-commit ho
阅读全文
摘要:创建附注标签( tag ) $ git tag -a tagName -m "说明" 解释:创建附注标签时,参数-a即annotated的缩写,指定标签类型,后附标签名。参数m指定标签说明,说明信息会保存在标签对象中。 查看 所有创建的 tags $ git tag 推送 创建的 tags $ gi
阅读全文
摘要:以上问题都可以通过下面方式解决原因 缓存导致: 1 、yarn cache clean 2 、rm yarn.lock 3 、rm -rf node_modules/ 4 、yarn 还不行的话: 重置本机git设置 git config --global credential.helper sto
阅读全文
摘要:https://www.cnblogs.com/zhangjixiao/p/13345755.html
阅读全文
摘要:AAA是为当前提交的分支起一个分支名 git add 文件名 git commit -m '注释' git push
阅读全文