NetAdmin/tools/GitRecreate.ps1
2023-11-17 18:52:06 +08:00

6 lines
126 B
PowerShell

$branch = $(git branch --show-current)
git checkout dev
git pull
git branch -D $branch
git branch $branch
git checkout $branch