misc: update script

This commit is contained in:
souldbminersmwc
2025-10-31 17:36:49 -04:00
parent c623caed75
commit a5010f0c89
2 changed files with 2 additions and 5 deletions

View File

@@ -1,5 +0,0 @@
git update-ref -d refs/remotes/origin/HEAD
git remote prune origin
git fetch origin
git symbolic-ref refs/remotes/origin/HEAD refs/remotes/origin/main
git remote show origin

2
fix_head.sh Normal file
View File

@@ -0,0 +1,2 @@
rm -f .git/refs/remotes/origin/HEAD
git remote prune origin