v3 - main to cut out

This commit is contained in:
Xinwei Xiong(cubxxw-openim) 2023-06-29 22:33:23 +08:00
parent 3fbeb622a2
commit 2d41819008
1 changed files with 6 additions and 0 deletions

6
a.sh Normal file
View File

@ -0,0 +1,6 @@
#!/bin/bash
git checkout --orphan temp $1
git commit -m "v3 - main to cut out"
git rebase --onto temp $1 main-test2
git branch -D temp