![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
git
前端人,前端魂
这个作者很懒,什么都没留下…
展开
-
git commit如何跳过eslint
如果你在git commit的时候出现你的代码报错 但是代码又可以运行 这就是esline的规则 代码可能不规范什么的这时候就可以用到跳过esline验证了只需要在commit后面添加–no-verify这个就可以例 git commit --no-verify -m " first "...原创 2021-04-18 15:27:32 · 3244 阅读 · 0 评论 -
error: remote origin already exists.
当你在git push到GitHub的时候报错出现error: remote origin already exists.翻译过来呢就是 错误:远程源已经存在。那么怎么解决这个问题呢第一 先用git remote -v 查看远程库的信息可以看到 已经关联了仓库了我们就把他删掉输入 git remote rm origin (删除关联的仓库)然后在push就不会出错了...原创 2021-03-26 15:30:32 · 14693 阅读 · 2 评论