warning: ignoring broken ref refs/remotes/origin/HEAD
➜ ✗ g symbolic-ref refs/remotes/origin/HEAD refs/remotes/origin/develop
➜ ✗ g fetch --prune
➜ ✗ g gc
warning: ignoring broken ref refs/remotes/origin/HEAD
➜ ✗ g symbolic-ref refs/remotes/origin/HEAD refs/remotes/origin/develop
➜ ✗ g fetch --prune
➜ ✗ g gc
in my case primary branch name was "production"
I ran git remote set-head origin production
to solve this issue.
Disso thanks for leaving the comment, it helped me fix my error. Cheers,
Thanks @dlsso
👍
Thanks @dlsso
yo that's good no cap
thanks