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

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

相关推荐
行者-全栈开发5 小时前
【码动四季·秋】从 commit 到发版全自动:Conventional Commits + semantic-release 发布流水线实战
git·ci/cd·自动化发布·atomgit·semantic-releas·语义化版本自动化·git 提交规范落地
Flynt1 天前
Claude Code 103 秒删掉 4.8 万个文件之后,我把自己的仓库"删"了一遍:git 能救的比你想的少
git·ai编程·claude
csdn2015_1 天前
git 可以修改已经push上去的commit说明吗
git
MinggeQingchun2 天前
Git - 令牌登录
git
xhy_07072 天前
Git 合并冲突怎么解决?用 AI 处理冲突的流程、Prompt 和 4 个易错点
人工智能·git·安全·prompt·ai编程·代码复审
Zhou1411362 天前
Git_02_GitLab协作与CI_CD
git·ci/cd·gitlab
Zhou1411362 天前
Git_03_GitFlow分支工作流
git
Flynt2 天前
把 bug tracker 塞进 git 仓库,同步和冲突怎么解决?我把 git-bug 拆开实测了一遍
分布式·git·开源
louisgeek3 天前
Git submodule 子模块
git