You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. Acquire a [GitHub personal access token (PAT)](https://docs.github.com/github/authenticating-to-github/creating-a-personal-access-token) scoped for `read:packages` and verify the permissions:
162
+
```console
163
+
$ gh auth login --scopes read:packages
164
+
165
+
? What account do you want to log into? GitHub.com
166
+
? What is your preferred protocol for Git operations? HTTPS
167
+
? How would you like to authenticate GitHub CLI? Login with a web browser
168
+
169
+
! First copy your one-time code: ****-****
170
+
Press Enter to open github.com in your browser...
171
+
172
+
✓ Authentication complete.
173
+
- gh config set -h github.com git_protocol https
174
+
✓ Configured git protocol
175
+
✓ Logged in as ********
176
+
```
177
+
178
+
```console
179
+
$ gh auth status
180
+
181
+
github.com
182
+
✓ Logged in to github.com as ******** (~/.config/gh/hosts.yml)
183
+
✓ Git operations for github.com configured to use https protocol.
0 commit comments