Files
dotfiles/.local/bin/git-orphan
2026-04-03 21:23:49 +09:00

8 lines
140 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