windows环境准备

windows激活 https://github.com/TGSAN/CMWTAT_Digital_Edition https://github.com/massgravel/Microsoft-Activation-Scripts 官网下载 微信 https://pc.weixin.qq.com/ jetbrains toolbox工具箱 https://www.jetbrains.com/toolbox-app/ cursor 编辑器 https://www.cursor.com/ windows store商店下载 SnipDo 快捷工具 scoop 安装软件列表 scoop install main/7zip 解压软件 scoop install versions/googlechrome-dev 浏览器 scoop install extras/ditto 剪切板 scoop install versions/snipaste-beta 截图 scoop install extras/revouninstaller 软件卸载管理 scoop install extras/quickcpu 查看硬件温度 scoop install extras/coretemp 查看硬件温度 scoop install extras/qbittorrent-enhanced 种子下载管理器 scoop install nerd-fonts/JetBrainsMono-NF 字体文件 scoop install extras/fvm flutter版本管理工具 scoop install main/fnm node版本管理工具 scoop install extras/mitmproxy 抓包工具 scoop install extras/crystaldiskinfo 查看磁盘信息工具 scoop install extras/beyondcompare 文件比对 scoop install extras/revouninstaller 软件卸载管理 winget 软件列表 Pylogmon.pot 翻译软件 winget install –id Microsoft.PowerToys –source winget winget install Microsoft.Powershell –source winget wsl 使用镜像网络,局域网可以访问wsl中的服务(注意设置主机防火墙) ...

创建于 2024年12月7日 · 最后更新于 2025年12月18日 · 1 分钟 · 107 字

git常用

常用命令 git config credential.helper store 保存账号密码到本地 git init 初始化仓库 git add . 添加所有文件到版本控制中 git commit -m "init" 提交文件,提交信息为 “init” git commit --amend 继上一次提交合并一起提交,提交信息为上一次提交信息 git remote add origin https://xxx.com 关联远程仓库地址 git push --set-upstream origin master 初次推送本地仓库至远程 git relog 查看 git 操作日志 git checkout -b commitId 已某个 commit 为基点创建 新分支 git apply commitId 应用某次提交的内容 git rebase git pull 常见场景 初始化仓库 git init 关联远程仓库 如果是更改远程仓库地址,需要先删除远程仓库关联 git remote remove origin,然后再关联到新的远程仓库git remote add $url 切换分支 git switch other-branch 或者 git checkout other-branch ,两个命令都表示切换到 other-branch 分支 ...

创建于 2023年6月5日 · 最后更新于 2025年12月18日 · 1 分钟 · 185 字