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
相关推荐
kafei_*3 小时前
VScode 添加 UV虚拟环境方法
vscode·python·uv
乐之者v8 小时前
AI编程 -- codex添加代码,在intellij Idea中没有显示,如何处理?
java·ide·intellij-idea
Eric.Lee202110 小时前
vscode格式化代码
ide·vscode·编辑器·c++格式化
会笑的小熊11 小时前
VScode项目推送到git仓库
ide·git·vscode
SilentSamsara11 小时前
装饰器基础:从闭包到装饰器的自然演变
开发语言·前端·vscode·python·青少年编程·pycharm
【 STM32开发 】13 小时前
VSCode 安装图解
ide·vscode·编辑器
_ 川三西14 小时前
Anaconda安装后环境变量的添加
vscode·conda
CHINA红旗下15 小时前
如何使用vscode开发STM32
ide·vscode·stm32
boonya15 小时前
Idea CC GUI插件如何通过 CC Switch 工具将 Claude Code 的后端配置为 DeepSeek 的 v4-pro 模型?
java·ide·intellij-idea
IOT.FIVE.NO.116 小时前
Codex、Claude Code、Cherry Studio 实测对比:CLI、桌面端怎么选?
ide·人工智能·编辑器·ai编程·ai写作·visual studio·vibecoding