expected the "[HOST/]OWNER/[NAMESPACE/]REPO" format, got "head"
Description
There's this nasty bug around the base
and head
resolution. All the commands are not usable and this error is always printed:
expected the "[HOST/]OWNER/[NAMESPACE/]REPO" format, got "head"
Expected Behavior vs Actual Behavior
Possible Fix
Steps to Reproduce
- Type this '...'
- View the output '....'
- See error
Logs
ProfClems: ~/.../profclems/test |master → origin ✓|
→ git remote -v
upstream git@gitlab.com:glab-cli/test.git (fetch)
upstream git@gitlab.com:glab-cli/test.git (push)
origin git@gitlab.com:profclems/test.git (fetch)
origin git@gitlab.com:profclems/test.git (push)
ProfClems: ~/.../profclems/test |master → origin ✓|
→ git config -l | grep glab-resolved
remote.origin.glab-resolved=head
remote.upstream.glab-resolved=base
ProfClems: ~/.../profclems/test |master → origin ✓|
→ glab ci view
expected the "[HOST/]OWNER/[NAMESPACE/]REPO" format, got "head"
ProfClems: ~/.../profclems/test |master → origin ✓|
→ glab mr create
expected the "[HOST/]OWNER/[NAMESPACE/]REPO" format, got "head"
Your Environment
- Version used (Run
glab --version
): glab version 1.13.0 (2020-12-27) - Operating System and version: Arch Linux x86_64 (5.9.14-arch1-1)