mirror of
https://github.com/nsnail/ns-ext.git
synced 2025-11-29 04:15:48 +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