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
相关推荐
阿斌.com6 小时前
Visual Studio 2026安装全攻略
ide·visual studio
我要神龙摆尾13 小时前
IDEA 阅读插件
java·ide·intellij-idea·idea-plugs·plugs
梦幻通灵16 小时前
IDEA 实用快捷键【持续更新】
java·ide·intellij-idea
星辰徐哥1 天前
鸿蒙平台 KDevelop 集成开发环境适配实战:基于 Electron 壳方案的跨平台多语言代码编辑器开发
electron·编辑器·harmonyos
风华同学1 天前
vscode远程连接
ide·vscode·编辑器
sunoo-2292 天前
【嵌入式 ARM 学习第十二天】SPI 裸机驱动 + I2C 触摸屏驱动 + 三大串行协议深度对比
arm开发·笔记·vscode·学习·imx6ull
kiss strong2 天前
idea显示前进后退按钮
java·ide·intellij-idea
ShuiShenHuoLe2 天前
Visual Studio 2022 Community 下载指南
ide·visual studio
Sunny_GMF2 天前
所见即所得编辑器原理实战:源码与渲染永不失真的三层一致性设计(Markdown/CodeMirror 装饰)
microsoft·编辑器·ai编程·harmonyos
一路向北he2 天前
trae或者vscode定义了文件,但是文件不亮是灰的
ide·vscode·编辑器