init
This commit is contained in:
7
.local/bin/git-orphan
Executable file
7
.local/bin/git-orphan
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user