GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Gitea Documentation
  • API
  • Runner
  • CLI
  • Enterprise
  • Sign In
  • Installation
  • Logging in
  • Using gt in CI
  • Output and scripting

This view

  • Original page
  • New address

GeezerVison is showing docs.gitea.com — Gitea CLI

Gitea CLI

gt is the official command line client for Gitea. It works with repositories, issues, pull requests, releases, Actions and the other resources of a Gitea instance, from a terminal or a script.

Development version

These pages describe builds from the main branch, published as nightly binaries and images.

gt needs Gitea 28 or later, and Git for the commands that clone, check out or push.

Getting started

Section titled “Getting started”
  1. Install gt.

  2. Log in:

    Terminal window
    gt auth login
  3. Run commands in a clone of a repository on that instance, or select one with --repo:

    Terminal window
    gt issue list --label bug
    gt pr checkout 13
    gt issue view 42 --repo gitea.com/gitea/cli

gt doctor checks your setup and suggests a fix for each problem it finds.

gt <command> --help lists the flags of a command, and gt help environment the global flags and environment variables.

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.