git 命令综合应用(for windows)

Windows Powershell环境

  • 导出当前分支最新版本为zip文件。以当前目录命名
git branch --show-current | tee -V b; git archive --format zip -o "./$((gi .).BaseName).zip" $b -0
posted @ 2022-10-04 19:15  wgf4242  阅读(25)  评论(0编辑  收藏  举报