.nh .TH "GH-REPO-VIEW" "1" "Mar 2024" "" "GitHub CLI manual" .SH NAME .PP gh-repo-view - View a repository .SH SYNOPSIS .PP \fBgh repo view [] [flags]\fR .SH DESCRIPTION .PP Display the description and the README of a GitHub repository. .PP With no argument, the repository for the current directory is displayed. .PP With '--web', open the repository in a web browser instead. .PP With '--branch', view a specific branch of the repository. .SH OPTIONS .TP \fB-b\fR, \fB--branch\fR \fB\fR View a specific branch of the repository .TP \fB-q\fR, \fB--jq\fR \fB\fR Filter JSON output using a jq expression .TP \fB--json\fR \fB\fR Output JSON with the specified fields .TP \fB-t\fR, \fB--template\fR \fB\fR Format JSON output using a Go template; see "gh help formatting" .TP \fB-w\fR, \fB--web\fR Open a repository in the browser .SH SEE ALSO .PP \fBgh-repo(1)\fR