本人常用的shell脚本
设置 Git 仓库的用户名和邮箱
curl -sSL https://cnb.cool/zhiqiangwang/sh/-/git/raw/main/git/user.sh | bash -s github-actions curl -sSL https://cnb.cool/zhiqiangwang/sh/-/git/raw/main/git/user.sh | bash -s github curl -sSL https://cnb.cool/zhiqiangwang/sh/-/git/raw/main/git/user.sh | bash -s cnb curl -sSL https://cnb.cool/zhiqiangwang/sh/-/git/raw/main/git/user.sh | bash -s gitee
批量修改 Git 仓库历史提交中的邮箱和用户名
bash -c "$(curl -fsSL https://cnb.cool/zhiqiangwang/sh/-/git/raw/main/git/commit-fixup.sh)"
Git 分支合并工具
bash -c "$(curl -fsSL https://cnb.cool/zhiqiangwang/sh/-/git/raw/main/git/cpmp.sh)"
Wi-Fi 管理脚本,支持列出、查看密码和删除保存的 Wi-Fi 网络
bash -c "$(curl -fsSL https://cnb.cool/zhiqiangwang/sh/-/git/raw/main/mac/wifi.sh)"
初始化 Git 仓库,生成 README.md、LICENSE 和 .gitignore
bash -c "$(curl -fsSL https://cnb.cool/zhiqiangwang/sh/-/git/raw/main/project/init-cnb-repo.sh)"
自动化创建 Vue 3 项目(TypeScript + Router + Pinia + ESLint + Prettier)
bash -c "$(curl -fsSL https://cnb.cool/zhiqiangwang/sh/-/git/raw/main/project/init-vue.sh)"