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
相关推荐
布鲁飞丝5 小时前
从零实现富文本编辑器#-浏览器选区与编辑器选区模型同步
java·前端·编辑器
计算机内卷的N天5 小时前
CMake与Visual Studio的使用
c++·ide·visual studio
咱入行浅5 小时前
一款实用的 Visual Studio 发布部署插件,助力提高部署效率!
ide·visual studio
谢斯6 小时前
[vscode] 使用unity打开vscode的取消.csproj的显示
ide·vscode·unity
2501_9160074719 小时前
SwiftUI 声明式语法与 Xcode 预览功能详解
ide·vscode·ios·swiftui·个人开发·xcode·敏捷流程
呐抹倾1 天前
【译】Visual Studio 停用:针对旧版本 Visual Studio 的支持提醒
ide·visual studio
爱就是恒久忍耐1 天前
使用VSCode开发STM32 (通用版本)
ide·vscode·stm32
FlightYe1 天前
音视频修炼之视频基础(一):视频基础理论
android·c++·vscode·音视频·androidx·android runtime
我要见SA姐11 天前
VsCode 使用指南(配置 + 美化)
ide·vscode·编辑器
魔尔助理顾问1 天前
安装 Jupyter Notebook (推荐给 venv 用户)
开发语言·ide·python·jupyter