DEV Community

Discussion on: Try gh, GitHub's new CLI

Collapse
 
richeney profile image
Richard Cheney • Edited

For WSL2 users, create a ~/.config/gh/config.yml file to authenticate to GitHub:

http://github.com:
  - user: ${github username}
    oauth_token: ${personal access token}

Using personal access tokens generated on GitHub. This will become a slicker process over time.