Caching Github credentials
Install prerequisites
Github CLI RHEL installation example
sudo dnf install 'dnf-command(config-manager)'
sudo dnf config-manager --addrepo https://cli.github/packages/rpm/gh-cli.repo
sudo dnf install gh --repo gh-cli
Provide your login details
First create a PAT token in GH UI then:
gh auth login
- github.com
- https
- autheticate github cli: yes
- paste auth token
- Paste the PAT token you created here
- Live a calm and productive life