.nh .TH "GH-EVENT" "1" "Nov 2026" "" "GitHub CLI manual" .SH NAME gh-event - Listen to GitHub events (preview) .SH SYNOPSIS \fBgh event [flags]\fR .SH DESCRIPTION Listen to events on GitHub resources as they happen, instead of polling. Changes made before the listener starts are not reported, so read the resource once it is listening. .PP This is a preview, available on \fBgithub.com\fR to accounts enabled for event subscriptions. .SH AVAILABLE COMMANDS .TP \fBgh-event-listen(1)\fR Wait for events on a specific resource .TP \fBgh-event-subscription(1)\fR Manage event subscriptions (preview) .SH EXIT CODES 0: Successful execution .PP 1: Error .PP 2: Command canceled .PP 4: Authentication required .PP NOTE: Specific commands may have additional exit codes. Refer to the command's help for more information. .SH SEE ALSO \fBgh(1)\fR