GH-PROJECT-MARK-TEMPLATE(1) GitHub CLI manual GH-PROJECT-MARK-TEMPLATE(1)

# [NAME](#NAME)

gh-project-mark-template - Mark a project as a template

# [SYNOPSIS](#SYNOPSIS)

**gh project mark-template \[&lt;number&gt;] \[flags]**

# [OPTIONS](#OPTIONS)

[**--format** **&lt;string&gt;**](#format)

Output format: {json}

[**-q**, **--jq** **&lt;expression&gt;**](#q)

Filter JSON output using a jq expression

[**--owner** **&lt;string&gt;**](#owner)

Login of the org owner.

[**-t**, **--template** **&lt;string&gt;**](#t)

Format JSON output using a Go template; see "gh help formatting"

[**--undo**](#undo)

Unmark the project as a template.

# [EXIT CODES](#EXIT_CODES)

0: Successful execution

1: Error

2: Command canceled

4: Authentication required

NOTE: Specific commands may have additional exit codes. Refer to the command's help for more information.

# [EXAMPLE](#EXAMPLE)

```
# Mark the github org's project "1" as a template
$ gh project mark-template 1 --owner "github"
# Unmark the github org's project "1" as a template
$ gh project mark-template 1 --owner "github" --undo
```

# [SEE ALSO](#SEE_ALSO)

[**gh-project(1)**](/man/os/gh/gh-project.1)

Oct 2026

---

Document: gh-project-mark-template(1) from gh 2.102.0-r1 (Chainguard OS)
Source: https://github.com/cli/cli
