-
Notifications
You must be signed in to change notification settings - Fork 8k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
A clear and concise description of what the bug is. Include version by typing gh --version.
$ gh --version
gh version 1.10.0 (2021-05-18)
https://github.com/cli/cli/releases/tag/v1.10.0
Hi, I just upgrade my gh-cli from 1.9.2 to 1.10.0, and it could not checkout any pr of any repo.
Currently, I have a downgrade for using 1.9.2.
Steps to reproduce the behavior
- clone a repo, here I cloned chaos-mesh
- cd chaos-mesh
- try to checkout pr PodIOChaos through reconciler chaos-mesh/chaos-mesh#1836
Expected vs actual behavior
A clear and concise description of what you expected to happen and what actually happened.
Expected:
gh could checkout the branch with tracking the correct upstream.
Actual:
gh exit with exitcode 128, and log: fatal: couldn't find remote ref refs/heads/podiochaosthroughreconciler
Logs
Paste the activity from your command line. Redact if needed.
# strrl @ giu in ~/temp [16:37:22]
$ git clone https://github.com/chaos-mesh/chaos-mesh
Cloning into 'chaos-mesh'...
remote: Enumerating objects: 15207, done.
remote: Counting objects: 100% (1889/1889), done.
remote: Compressing objects: 100% (1024/1024), done.
remote: Total 15207 (delta 992), reused 1395 (delta 730), pack-reused 13318
Receiving objects: 100% (15207/15207), 49.67 MiB | 18.34 MiB/s, done.
Resolving deltas: 100% (9236/9236), done.
# strrl @ giu in ~/temp [16:37:28]
$ cd chaos-mesh
# strrl @ giu in ~/temp/chaos-mesh on git:master o [16:37:30]
$ gh pr checkout 1836
fatal: couldn't find remote ref refs/heads/podiochaosthroughreconciler
exit status 128
# strrl @ giu in ~/temp/chaos-mesh on git:master o [16:37:38] C:1
$ gh --version
gh version 1.10.0 (2021-05-18)
https://github.com/cli/cli/releases/tag/v1.10.0
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working