![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
git
晨旭缘
相由心生
展开
-
git修改密码后,出现Authentication failed for的错误,命令记录
由于经常修改git密码,记录一下,修改密码后重新更新代码git清除密码的命令命令:git config --system --unset credential.helper这个密令可以清除保存的密码,输入后就会重新提示输入密码,输入正确的密码就可以了...原创 2022-01-26 16:21:10 · 2058 阅读 · 0 评论 -
git笔记之本地分支与远程分支关联(git branch --set-upstream-to=origin/feature)
出现场景:第一次clone下远端代码,修改操作后进行push,提示本地分支和远端分支没有关联,大概提示信息如下:git branch --set-upstream-to=origin/feature-liui feature-liuiThere is no tracking information for the current branch.Please specify which branch you want to merge with.跟同事请教,使用该命令:git branch --原创 2021-12-16 20:55:36 · 1082 阅读 · 0 评论 -
Angular&CI/CD:Error: initial exceeded maximum budget
Angular项目在在走CI/CD流程时,出现以下错误:Warning: initial exceeded maximum budget. Budget 2.00 MB was not met by 3.01 MB with a total of 5.01 MB.Error: initial exceeded maximum budget. Budget 5.00 MB was not met by 6.83 kB with a total of 5.01 MB.大致意思是打包文件过大,超出规定的文原创 2021-12-05 18:26:44 · 851 阅读 · 0 评论 -
Git分支模式
浅谈Git分支模式主流的分支模式TBD(主干开发模式)Git-FlowGitHub-FlowGitLab-Flow一、TBD主干开发模式1.定义即所有开发者,仅在一个开发分支(即主干)上进行协作开发的模式,这种模式下,不允许新建任何长期存在的开发分支,有且仅保留主干分支进行开发协作。因为没有长期分离的其他开发分支,任何代码变更持续地更新到主干上,在一定程度上避免了 merge 代码带来的困扰。在 TBD 模式下,所有的修改都是在主干上,哪怕是缺陷的修改也是,修改完缺陷后,再 cher原创 2021-09-18 17:44:13 · 530 阅读 · 1 评论 -
Gitlab使用git remote 出现fatal: remote origin already exists的问题解决
Gitlab使用git remote 出现fatal: remote origin already exists的问题记录在当我们输入git remote add origin https://gitlab.com/(gitlab/相关账号)/(gitlab/gitlab项目名).git就会报如下的错:fatal: remote origin already exists.提示远程来源已经存在此时,我们可以先 git remote -v 查看远程库信息:示例:-----> git rem原创 2021-08-19 11:27:40 · 208 阅读 · 0 评论 -
git问题笔记(跳过安全设置的问题)
git问题笔记(安全设置的问题)git命令跳过凭证:git config http.sslVerify “false”原创 2021-07-22 15:38:20 · 104 阅读 · 0 评论