![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
git
涔溪
这个作者很懒,什么都没留下…
展开
-
git永久保存账号密码
git永久保存账号密码安装好git后 直接在git bash 中执行命令:git config --global credential.helper store然后输入账号密码git config --global user.name "用户名"git config --global user.email "邮箱"git config --global user.password "密码"就可以永久保存,避免重复输入账号密码操作...原创 2021-11-02 18:04:13 · 2211 阅读 · 0 评论 -
Git分支创建、合并、上传等命令
Git分支创建、合并、上传等命令一、 创建test分支提交步骤1.列出所有分支git branch -a2.创建test分支git branch test3.切换到test分支:git checkout test4.添加add修改:git add .5.添加commit注释git commit -m “第一次提交代码”6.提交到服务器git push origin test二、将test分支合并到master本地分支1.创建test分支git branch test2.切换原创 2021-10-28 17:28:08 · 182 阅读 · 0 评论 -
git commit -m 提交时报错husky pre-commit (node v12.18.2)
git commit -m ""提交时报错husky > pre-commit (node v12.18.2)husky > pre-commit (node v12.18.2)Stashing changes... [started]Stashing changes... [skipped]鈫?No partially staged files found...Running linters... [started]Running tasks for src/**/*.{js,vu原创 2021-07-20 18:57:45 · 1468 阅读 · 0 评论