mirror of
https://github.com/nsnail/dot.git
synced 2025-12-25 19:05:48 +08:00
refactor: ♻️ 2.0 (#13)
This commit is contained in:
6
scripts/git.rc.ps1
Normal file
6
scripts/git.rc.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