mirror of
https://github.com/nsnail/NetAdmin.git
synced 2025-09-14 01:35:33 +08:00
build: 📦 构建脚本优化 (#74)
This commit is contained in:
6
scripts/3.git.recreate.branch.ps1
Normal file
6
scripts/3.git.recreate.branch.ps1
Normal file
@@ -0,0 +1,6 @@
|
||||
$branch = $( git branch --show-current )
|
||||
git checkout main
|
||||
git pull
|
||||
git branch -D $branch
|
||||
git branch $branch
|
||||
git checkout $branch
|
Reference in New Issue
Block a user