mirror of
https://github.com/nsnail/ns-ext.git
synced 2025-07-01 23:28:15 +08:00
11
scripts/1.git.pull.request.ps1
Normal file
11
scripts/1.git.pull.request.ps1
Normal file
@ -0,0 +1,11 @@
|
||||
$branch = $( git branch --show-current )
|
||||
git add ../
|
||||
./code.clean.ps1
|
||||
git add ../
|
||||
../node_modules/.bin/git-cz.ps1
|
||||
git pull
|
||||
git push --set-upstream origin $branch
|
||||
Start-Process -FilePath "https://github.com/nsnail/NSExt/compare/main...$branch"
|
||||
Write-Host "按『Enter』重建分支,『Ctrl+C』退出"
|
||||
Pause
|
||||
./3.git.recreate.branch.ps1
|
Reference in New Issue
Block a user