nvm+vscode配置安装暂记

1 nvm 安装

  • 安装到D盘,路径不能有空格
  • 下载nvm list available 下没有的版本
  • 放入nvm 的安装路径中即可

2 git 配置ssh密钥

2.1 安装git 配置用户和邮箱 ssh

  • ssh-keygen -t rsa -C "zhangyuanyuan@u-care.net.cn" 三次空格
  • 到 提示的路径下 Your public key has been saved in C:\Users\username/.ssh/id_rsa.pub 复制
  • 打开git仓库,新建一个ssh 即可

2.2报错

  • 1 git pull报错fatal: Unencrypted HTTP is not recommended for GitLab. Ensure the repository remote URL is using HTTPS or see https://aka.ms/gcm/unsaferemotes about how to allow unsafe remotes.
bash 复制代码
 git config credential.allowUnsafeRemotes true
  • 2 git pull报错 warning: missing OAuth configuration
bash 复制代码
git config --global credential.helper wincred

弹出 账户名和密码登录即可

  • 3 git add . 提示warning: LF will be replaced by CRLF in ...
bash 复制代码
 git config --global core.autocrlf false
相关推荐
天天喝旺仔36 分钟前
AI 编程实战:用 Cursor + Claude Code + Copilot 把效率翻倍
ide·chatgpt·prompt·copilot·ai编程
captain3762 小时前
网络编程(1)
java·网络·ide·java-ee
国产化创客3 小时前
创客开发入门(三)Arduino IDE 开发环境
ide·单片机·嵌入式硬件·课程设计·智能硬件
冰水不凉3 小时前
CodeX 在 Ubuntu 下 vscode 插件的 bug 问题
vscode·ubuntu·bug
2601_962296283 小时前
python初学者怎么选IDE
ide·python·开发环境·初学者·工具选择
Java后端的Ai之路3 小时前
Git pull弹出vim编辑器完整排查指南
开发语言·人工智能·git·编辑器·vim
卷土重去5 小时前
第 6 章 Linux 实操篇-Vi 和 Vim 编辑器
linux·编辑器·vim
程序员阿明15 小时前
idea把插件啥的不默认放在C盘
java·ide·intellij-idea
JMchen12316 小时前
Cursor高阶玩法:.cursorrules编写与Spec-Driven开发实战,把AI调教成专属结对编程搭档
人工智能·vscode·kotlin·cursor·结对编程·spec-driven·.cursorrules
我是Superman丶18 小时前
Arduino IDE 安装教程:Windows/macOS/Linux 开发环境搭建
ide·windows·macos