mirror of
https://github.com/nsnail/dot.git
synced 2025-04-14 09:32:49 +08:00
11 lines
335 B
PowerShell
11 lines
335 B
PowerShell
$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/dot/compare/main...$branch"
|
||
Write-Host "按『Enter』重建分支,『Ctrl+C』退出"
|
||
Pause
|
||
./3.git.recreate.branch.ps1 |