mirror of
https://github.com/nsnail/NetAdmin.git
synced 2025-04-23 22:52:51 +08:00
8 lines
150 B
PowerShell
8 lines
150 B
PowerShell
#!/usr/bin/env pwsh
|
|
|
|
$branch = $( git branch --show-current )
|
|
git checkout main
|
|
git pull
|
|
git branch -D $branch
|
|
git branch $branch
|
|
git checkout $branch |