mirror of
https://github.com/nsnail/dot.git
synced 2025-04-14 09:32:49 +08:00
6 lines
129 B
PowerShell
6 lines
129 B
PowerShell
$branch = $( git branch --show-current )
|
|
git checkout main
|
|
git pull
|
|
git branch -D $branch
|
|
git branch $branch
|
|
git checkout $branch |