mirror of
https://github.com/nsnail/dot.git
synced 2025-04-19 03:42: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 |