diff --git a/a.sh b/a.sh new file mode 100644 index 000000000..61f933555 --- /dev/null +++ b/a.sh @@ -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 +