Revokes the gh credential for github.com, so gh commands requiring auth start failing until you log in again. --hostname targets one host when multiple are configured. Logging out does not delete your git credentials unless they were gh-managed.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.