mirror of
https://github.com/nsnail/ns-ext.git
synced 2025-07-02 00:08:15 +08:00
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