Skip to content
开发环境配置
  • NodeJS

    • 下载
      https://nodejs.org

    • 修改缓存目录

      shell
      npm config set prefix "D:\node\node_global"
      npm config set cache "D:\node\node_cache"
    • 配置 npm 镜像源

      shell
      npm config set registry https://registry.npmmirror.com
  • Git

    • 下载(免翻墙地址)
      https://registry.npmmirror.com/binary.html?path=git-for-windows/
    • 全局配置
      shell
      git config --global user.name "tom"
      git config --global user.email tom@example.com
    • 转移代码所有权
      shell
      git config --global --add safe.directory "*"
    • 设置 git pull 命令的行为,从默认 merge 改为 rebase
      shell
      git config --global pull.rebase true
    • 设置 git 全局缓冲区大小
      shell
      git config --global http.postBuffer 524288000
    • 配置 Git 分支按最后提交日期排序
      shell
      git config --global branch.sort committerdate
  • SSH

  • VS Code

  • Office

Last updated:

⟣ Growing, with you. ⟢