新电脑工作流搭建记录-前端篇

vscode:

url: Visual Studio Code - Code Editing. Redefined

插件:Chinese、git history、git graph、codelf、css peek、auto closed tad、auto rename tag、Quokka.js、Image preview

Node

官网直接下载:下载 | Node.js

node版本管理器n

可以使用 npm 直接安装到全局: npm install n -g 常用命令 n # 显示所有已下载版本 n 10.16.0 # 下载指定版本 n lts # 查看远程所有 LTS Node.js 版本 n run 10.16.0 # 运行指定的 Node.js 版本

Yarn

Git

url: Git

配置:

git config --global user.name "username"

git config --global user.email "email"

查看配置:git config --global --list

生成ssh:ssh-keygen -t rsa

此时会生成两个文件: id_rsa文件:私钥,保存于本地; id_rsa.pub文件:公钥,需要把里面内容配置到远端仓库(全部复制过去就可以了)。

mac打开公钥

open ~/.ssh/id_rsa.pub或者vim ~/.ssh/id_rsa.pub

oh-my-zsh

第一步 → 把 oh-my-zsh 项目 Clone 下来:

git clone https://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh

第二步 → 复制 .zshrc

cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc

第三步 → 更改你的默认 Shell

chsh -s /bin/zsh

谷歌浏览器插件

Page-Ruler、mate tranlate、todoist-for-chrome、Auto-Group Tabs、Fehelper

相关推荐
A_Lonely_Cat1 天前
记一次 GitHub 幽灵协作者大清洗:强制重写 Git 历史与穿透 CDN 缓存实践
git·github
和你看星星3 天前
Git rerere:让重复冲突只解决一次
git
嘻嘻仙人7 天前
Ubuntu中 git上传自己的项目和二次上传一般流程
git·github
Patrick_Wilson7 天前
Squash Merge 的血缘陷阱:为什么删掉的代码又活了过来
前端·git·程序员
沉浸学习的匿名网友7 天前
什么是 .gitignore?为什么每个 Git 项目几乎都离不开它?
前端·git
深海鱼在掘金8 天前
Git 完全指南 —— 第3章:理解工作区、暂存区、版本库三个核心
git
江华森8 天前
Git 基础筑基:从原理到团队协作的全栈实战
git
JakeJiang8 天前
Git 必备命令指南:从日常高频到项目开发实战
git
叫我少年9 天前
Windows 中安装 git
git
深海鱼在掘金14 天前
Git 完全指南 —— 第1章:Git 概览与版本控制演进
git