随笔分类 -  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 阅读全文
posted @ 2022-11-29 14:24 Action_swt 阅读(459) 评论(0) 推荐(0) 编辑
摘要:创建附注标签( tag ) $ git tag -a tagName -m "说明" 解释:创建附注标签时,参数-a即annotated的缩写,指定标签类型,后附标签名。参数m指定标签说明,说明信息会保存在标签对象中。 查看 所有创建的 tags $ git tag 推送 创建的 tags $ gi 阅读全文
posted @ 2022-04-02 15:07 Action_swt 阅读(37) 评论(0) 推荐(0) 编辑
摘要:以上问题都可以通过下面方式解决原因 缓存导致: 1 、yarn cache clean 2 、rm yarn.lock 3 、rm -rf node_modules/ 4 、yarn 还不行的话: 重置本机git设置 git config --global credential.helper sto 阅读全文
posted @ 2022-04-01 15:53 Action_swt 阅读(353) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/zhangjixiao/p/13345755.html 阅读全文
posted @ 2020-07-31 12:44 Action_swt 阅读(100) 评论(0) 推荐(0) 编辑
摘要:AAA是为当前提交的分支起一个分支名 git add 文件名 git commit -m '注释' git push 阅读全文
posted @ 2020-05-09 11:40 Action_swt 阅读(133) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示