Files
dotfiles/.local/bin/git-orphan
2026-03-30 17:38:45 +09:00

8 lines
138 B
Bash
Executable File

#!/bin/bash
git checkout --orphan temp
git add -A
git commit -m "init"
git branch -D main
git branch -m temp main
git push -f origin main