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
相关推荐
IT利刃出鞘1 天前
WordPress插件--经典编辑器
编辑器
weixin_449173651 天前
vscode附加到已经有的进程
ide·vscode·编辑器
bkspiderx3 天前
在Visual Studio中安装与配置Qt插件(Qt Visual Studio Tools)
ide·qt·visual studio·qt插件
lusklusklusk4 天前
使用Visual Studio一步步创建并部署SSRS_PBIRS报表:数据源配置、图表设计、参数化查询、部署参数与排错实战
数据库·ide·visual studio
解道Jdon4 天前
Rust重写OpenCode Rune:性能提升最高100倍
ide·windows·git·svn·eclipse·github·visual studio
莫卢俊德4 天前
vscode ssh config
ide·vscode·ssh
郝学胜-神的一滴5 天前
Effective Python 条款44:善用属性注解
开发语言·c++·vscode·python·算法·stl
BD_Marathon9 天前
安装Jupyter notebook
ide·python·jupyter
讓丄帝愛伱10 天前
Zed Markdown 预览不能铺满全屏的原因及解决
ide
FungLeo10 天前
FengCMS · PHP+MySQL 升级实录 · 编辑器迁移:KindEditor → wangEditor5 +服务端 HTML Purifier
mysql·编辑器·php·富文本编辑器·fengcms