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

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

相关推荐
Coolbike1 小时前
Git工作流
git
~央千澈~5 小时前
实战针对本地项目git如何移除旧仓库关联并且添加关联新仓库-优雅草卓伊凡
git
JH307312 小时前
git常用命令大全
git
ll57764433218 小时前
使用PyTorch实现自定义损失函数以FocalLoss为例的详细教程
git
李少兄19 小时前
Git 用户名与邮箱配置指南
git
Blue啊20 小时前
code Merge(qcc)
git·gitlab
洛小豆1 天前
Git打标签仓库看不到?她说:豆子,你又忘了加 --tags!
git·后端·github
好奇的菜鸟1 天前
理解 Git 命令 `git reset --hard origin/pre`:版本回退的“利刃”与使用禁忌
大数据·git
春生野草1 天前
git的使用
git
今天头发还在吗1 天前
解决 Git 推送冲突:使用 Rebase 整合远程更改
大数据·git·elasticsearch