René's URL Explorer Experiment


Title: Command Reference - Graphite

Open Graph Title: Command Reference - Graphite

X Title: Command Reference - Graphite

Description: This reference documents every command and flag available in Graphite’s command-line interface.

Open Graph Description: This reference documents every command and flag available in Graphite’s command-line interface.

X Description: This reference documents every command and flag available in Graphite’s command-line interface.

Opengraph URL: https://graphite.com/docs/command-reference

Generator: Mintlify

direct link

Domain: graphite.dev

application-nameGraphite
msapplication-config/docs/_mintlify/favicons/graphite-58cc94ce/xqSZfduGNfXTn3cS/_generated/favicon/browserconfig.xml
apple-mobile-web-app-titleGraphite
msapplication-TileColor#1d92ff
charsetutf-8
og:site_nameGraphite
canonicalhttps://graphite.com/docs/command-reference
og:imagehttps://graphite-58cc94ce.mintlify.app/_next/image?url=/_mintlify/api/og?division=Stacking+%28Graphite+CLI%29&title=Command+Reference&description=This+reference+documents+every+command+and+flag+available+in+Graphite%E2%80%99s+command-line+interface.&logoLight=https%3A%2F%2Fmintcdn.com%2Fgraphite-58cc94ce%2FFszxrpWvdTmsNw3v%2Flogo%2Flogo-black.svg%3Ffit%3Dmax%26auto%3Dformat%26n%3DFszxrpWvdTmsNw3v%26q%3D85%26s%3D05b29246c39d94398d5a36ea2da693d2&logoDark=https%3A%2F%2Fmintcdn.com%2Fgraphite-58cc94ce%2FFszxrpWvdTmsNw3v%2Flogo%2Flogo-white.svg%3Ffit%3Dmax%26auto%3Dformat%26n%3DFszxrpWvdTmsNw3v%26q%3D85%26s%3Da3b8c71f1a03cdc64645ea64fe35195e&primaryColor=%231d92ff&lightColor=%23fff&darkColor=%231d92ff&backgroundLight=%23ffffff&backgroundDark=%230a0a0a&w=1200&q=100
og:image:width1200
og:image:height630
og:typewebsite
twitter:cardsummary_large_image
twitter:imagehttps://graphite-58cc94ce.mintlify.app/_next/image?url=/_mintlify/api/og?division=Stacking+%28Graphite+CLI%29&title=Command+Reference&description=This+reference+documents+every+command+and+flag+available+in+Graphite%E2%80%99s+command-line+interface.&logoLight=https%3A%2F%2Fmintcdn.com%2Fgraphite-58cc94ce%2FFszxrpWvdTmsNw3v%2Flogo%2Flogo-black.svg%3Ffit%3Dmax%26auto%3Dformat%26n%3DFszxrpWvdTmsNw3v%26q%3D85%26s%3D05b29246c39d94398d5a36ea2da693d2&logoDark=https%3A%2F%2Fmintcdn.com%2Fgraphite-58cc94ce%2FFszxrpWvdTmsNw3v%2Flogo%2Flogo-white.svg%3Ffit%3Dmax%26auto%3Dformat%26n%3DFszxrpWvdTmsNw3v%26q%3D85%26s%3Da3b8c71f1a03cdc64645ea64fe35195e&primaryColor=%231d92ff&lightColor=%23fff&darkColor=%231d92ff&backgroundLight=%23ffffff&backgroundDark=%230a0a0a&w=1200&q=100
twitter:image:width1200
twitter:image:height630

Links:

Skip to main contenthttps://graphite.dev/docs/command-reference#content-area
Graphite home pagehttps://graphite.com
Overviewhttps://graphite.dev/docs/get-started
Set up merge queue integrationhttps://graphite.dev/docs/setup-merge-queue-integration
Configure recommended CI settingshttps://graphite.dev/docs/setup-recommended-ci-settings
Overviewhttps://graphite.dev/docs/ai-reviews
Setup & configurationhttps://graphite.dev/docs/ai-reviews-setup
Review commentshttps://graphite.dev/docs/ai-review-comments
Customizationhttps://graphite.dev/docs/ai-review-customization
Experimental commentshttps://graphite.dev/docs/ai-review-experimental-comments
Pull Request Inboxhttps://graphite.dev/docs/use-pr-inbox
Graphite Chathttps://graphite.dev/docs/graphite-chat
Overviewhttps://graphite.dev/docs/cli-overview
Quick Starthttps://graphite.dev/docs/cli-quick-start
Command Cheatsheethttps://graphite.dev/docs/cheatsheet
Command Referencehttps://graphite.dev/docs/command-reference
Configure The CLIhttps://graphite.dev/docs/configure-cli
GT MCPhttps://graphite.dev/docs/gt-mcp
Overviewhttps://graphite.dev/docs/integrations
Menu Bar App (Mac)https://graphite.dev/docs/menu-bar-app
Slack Notificationshttps://graphite.dev/docs/slack-notifications
Linearhttps://graphite.dev/docs/linear
Jirahttps://graphite.dev/docs/jira
Overviewhttps://graphite.dev/docs/graphite-merge-queue
Set Up The Graphite Merge Queuehttps://graphite.dev/docs/set-up-merge-queue
Use The Graphite Merge Queuehttps://graphite.dev/docs/get-started-merge-queue
Merge Queue Optimizationshttps://graphite.dev/docs/merge-queue-optimizations
External Merge Queue Integration (Beta)https://graphite.dev/docs/external-merge-queue-integration
CI Optimizationshttps://graphite.dev/docs/stacking-and-ci
Automationshttps://graphite.dev/docs/automations
Overviewhttps://graphite.dev/docs/background-agents
User permissionshttps://graphite.dev/docs/graphite-admin
GitHub Enterprise Serverhttps://graphite.dev/docs/github-enterprise-server
Code Indexinghttps://graphite.dev/docs/code-indexing
CLI Changeloghttps://graphite.dev/docs/cli-changelog
LLM-Friendly Documentationhttps://graphite.dev/docs/ai-ingestion
Apphttps://app.graphite.com/
Graphite home pagehttps://graphite.com
Apphttps://app.graphite.com/
installation guidehttps://graphite.dev/docs/install-the-cli
https://graphite.dev/docs/command-reference#global-flags
https://graphite.dev/docs/command-reference#available-commands
https://graphite.dev/docs/command-reference#gt-abort
https://graphite.dev/docs/command-reference#flags
https://graphite.dev/docs/command-reference#gt-absorb
https://graphite.dev/docs/command-reference#flags-2
https://graphite.dev/docs/command-reference#gt-add-[args-]
https://graphite.dev/docs/command-reference#arguments
https://graphite.dev/docs/command-reference#gt-aliases
https://graphite.dev/docs/command-reference#flags-3
https://graphite.com/docs/legacy-alias-presethttps://graphite.com/docs/legacy-alias-preset
https://graphite.dev/docs/command-reference#gt-auth
https://graphite.dev/docs/command-reference#flags-4
https://app.graphite.com/activatehttps://app.graphite.com/activate
https://graphite.dev/docs/command-reference#gt-bottom
https://graphite.dev/docs/command-reference#gt-changelog
https://graphite.dev/docs/command-reference#gt-checkout-[branch]
https://graphite.dev/docs/command-reference#arguments-2
https://graphite.dev/docs/command-reference#flags-5
https://graphite.dev/docs/command-reference#gt-cherry-pick-[args-]
https://graphite.dev/docs/command-reference#arguments-3
https://graphite.dev/docs/command-reference#gt-children
https://graphite.dev/docs/command-reference#gt-completion
https://graphite.dev/docs/command-reference#gt-config
https://graphite.dev/docs/command-reference#gt-continue
https://graphite.dev/docs/command-reference#flags-6
https://graphite.dev/docs/command-reference#gt-create-[name]
https://graphite.dev/docs/command-reference#arguments-4
https://graphite.dev/docs/command-reference#flags-7
https://graphite.dev/docs/command-reference#gt-dash
https://graphite.dev/docs/command-reference#gt-delete-[name]
https://graphite.dev/docs/command-reference#arguments-5
https://graphite.dev/docs/command-reference#flags-8
https://graphite.dev/docs/command-reference#gt-demo-[demoname]
https://graphite.dev/docs/command-reference#arguments-6
https://graphite.dev/docs/command-reference#gt-docs
https://graphite.dev/docs/command-reference#gt-down-[steps]
https://graphite.dev/docs/command-reference#flags-9
https://graphite.dev/docs/command-reference#gt-feedback-[message]
https://graphite.dev/docs/command-reference#arguments-7
https://graphite.dev/docs/command-reference#flags-10
https://graphite.dev/docs/command-reference#gt-fish
https://graphite.dev/docs/command-reference#gt-fold
https://graphite.dev/docs/command-reference#flags-11
https://graphite.dev/docs/command-reference#gt-freeze-[branch]
https://graphite.dev/docs/command-reference#arguments-8
https://graphite.dev/docs/command-reference#gt-get-[branch]
https://graphite.dev/docs/command-reference#arguments-9
https://graphite.dev/docs/command-reference#flags-12
https://graphite.dev/docs/command-reference#gt-guide-[title]
https://graphite.dev/docs/command-reference#gt-info-[branch]
https://graphite.dev/docs/command-reference#arguments-10
https://graphite.dev/docs/command-reference#flags-13
https://graphite.dev/docs/command-reference#gt-init
https://graphite.dev/docs/command-reference#flags-14
https://graphite.dev/docs/command-reference#gt-log-[command]
https://graphite.dev/docs/command-reference#arguments-11
https://graphite.dev/docs/command-reference#flags-15
https://graphite.dev/docs/command-reference#gt-merge
https://graphite.dev/docs/command-reference#flags-16
https://graphite.dev/docs/command-reference#gt-modify
https://graphite.dev/docs/command-reference#flags-17
https://graphite.dev/docs/command-reference#gt-move
https://graphite.dev/docs/command-reference#flags-18
https://graphite.dev/docs/command-reference#gt-parent
https://graphite.dev/docs/command-reference#gt-pop
https://graphite.dev/docs/command-reference#gt-pr-[branch]
https://graphite.dev/docs/command-reference#arguments-12
https://graphite.dev/docs/command-reference#flags-19
https://graphite.dev/docs/command-reference#gt-rebase-[args-]
https://graphite.dev/docs/command-reference#arguments-13
https://graphite.dev/docs/command-reference#gt-rename-[name]
https://graphite.dev/docs/command-reference#arguments-14
https://graphite.dev/docs/command-reference#flags-20
https://graphite.dev/docs/command-reference#gt-reorder
https://graphite.dev/docs/command-reference#gt-reset-[args-]
https://graphite.dev/docs/command-reference#arguments-15
https://graphite.dev/docs/command-reference#gt-restack
https://graphite.dev/docs/command-reference#flags-21
https://graphite.dev/docs/command-reference#gt-restore-[args-]
https://graphite.dev/docs/command-reference#arguments-16
https://graphite.dev/docs/command-reference#gt-revert-[sha]
https://graphite.dev/docs/command-reference#arguments-17
https://graphite.dev/docs/command-reference#flags-22
https://graphite.dev/docs/command-reference#gt-split
https://graphite.dev/docs/command-reference#flags-23
https://graphite.dev/docs/command-reference#gt-squash
https://graphite.dev/docs/command-reference#flags-24
https://graphite.dev/docs/command-reference#gt-submit
https://graphite.dev/docs/command-reference#flags-25
https://graphite.dev/docs/command-reference#gt-sync
https://graphite.dev/docs/command-reference#flags-26
https://graphite.dev/docs/command-reference#gt-top
https://graphite.dev/docs/command-reference#gt-track-[branch]
https://graphite.dev/docs/command-reference#arguments-18
https://graphite.dev/docs/command-reference#flags-27
https://graphite.dev/docs/command-reference#gt-trunk
https://graphite.dev/docs/command-reference#flags-28
https://graphite.dev/docs/command-reference#gt-undo
https://graphite.dev/docs/command-reference#flags-29
https://graphite.dev/docs/command-reference#gt-unfreeze-[branch]
https://graphite.dev/docs/command-reference#arguments-19
https://graphite.dev/docs/command-reference#gt-unlink-[branch]
https://graphite.dev/docs/command-reference#arguments-20
https://graphite.dev/docs/command-reference#gt-untrack-[branch]
https://graphite.dev/docs/command-reference#arguments-21
https://graphite.dev/docs/command-reference#flags-30
https://graphite.dev/docs/command-reference#gt-up-[steps]
https://graphite.dev/docs/command-reference#flags-31
https://graphite.dev/docs/command-reference#gt-upgrade
Previoushttps://graphite.dev/docs/cheatsheet
Configure The CLILearn how to configure the Graphite CLI to customize and speed up your workflow.Nexthttps://graphite.dev/docs/configure-cli
Global flagshttps://graphite.dev/docs/command-reference#global-flags
Available commandshttps://graphite.dev/docs/command-reference#available-commands
gt aborthttps://graphite.dev/docs/command-reference#gt-abort
flagshttps://graphite.dev/docs/command-reference#flags
gt absorbhttps://graphite.dev/docs/command-reference#gt-absorb
flagshttps://graphite.dev/docs/command-reference#flags-2
gt add [args..]https://graphite.dev/docs/command-reference#gt-add-%5Bargs-%5D
argumentshttps://graphite.dev/docs/command-reference#arguments
gt aliaseshttps://graphite.dev/docs/command-reference#gt-aliases
flagshttps://graphite.dev/docs/command-reference#flags-3
gt authhttps://graphite.dev/docs/command-reference#gt-auth
flagshttps://graphite.dev/docs/command-reference#flags-4
gt bottomhttps://graphite.dev/docs/command-reference#gt-bottom
gt changeloghttps://graphite.dev/docs/command-reference#gt-changelog
gt checkout [branch]https://graphite.dev/docs/command-reference#gt-checkout-%5Bbranch%5D
argumentshttps://graphite.dev/docs/command-reference#arguments-2
flagshttps://graphite.dev/docs/command-reference#flags-5
gt cherry-pick [args..]https://graphite.dev/docs/command-reference#gt-cherry-pick-%5Bargs-%5D
argumentshttps://graphite.dev/docs/command-reference#arguments-3
gt childrenhttps://graphite.dev/docs/command-reference#gt-children
gt completionhttps://graphite.dev/docs/command-reference#gt-completion
gt confighttps://graphite.dev/docs/command-reference#gt-config
gt continuehttps://graphite.dev/docs/command-reference#gt-continue
flagshttps://graphite.dev/docs/command-reference#flags-6
gt create [name]https://graphite.dev/docs/command-reference#gt-create-%5Bname%5D
argumentshttps://graphite.dev/docs/command-reference#arguments-4
flagshttps://graphite.dev/docs/command-reference#flags-7
gt dashhttps://graphite.dev/docs/command-reference#gt-dash
gt delete [name]https://graphite.dev/docs/command-reference#gt-delete-%5Bname%5D
argumentshttps://graphite.dev/docs/command-reference#arguments-5
flagshttps://graphite.dev/docs/command-reference#flags-8
gt demo [demoName]https://graphite.dev/docs/command-reference#gt-demo-%5Bdemoname%5D
argumentshttps://graphite.dev/docs/command-reference#arguments-6
gt docshttps://graphite.dev/docs/command-reference#gt-docs
gt down [steps]https://graphite.dev/docs/command-reference#gt-down-%5Bsteps%5D
flagshttps://graphite.dev/docs/command-reference#flags-9
gt feedback [message]https://graphite.dev/docs/command-reference#gt-feedback-%5Bmessage%5D
argumentshttps://graphite.dev/docs/command-reference#arguments-7
flagshttps://graphite.dev/docs/command-reference#flags-10
gt fishhttps://graphite.dev/docs/command-reference#gt-fish
gt foldhttps://graphite.dev/docs/command-reference#gt-fold
flagshttps://graphite.dev/docs/command-reference#flags-11
gt freeze [branch]https://graphite.dev/docs/command-reference#gt-freeze-%5Bbranch%5D
argumentshttps://graphite.dev/docs/command-reference#arguments-8
gt get [branch]https://graphite.dev/docs/command-reference#gt-get-%5Bbranch%5D
argumentshttps://graphite.dev/docs/command-reference#arguments-9
flagshttps://graphite.dev/docs/command-reference#flags-12
gt guide [title]https://graphite.dev/docs/command-reference#gt-guide-%5Btitle%5D
gt info [branch]https://graphite.dev/docs/command-reference#gt-info-%5Bbranch%5D
argumentshttps://graphite.dev/docs/command-reference#arguments-10
flagshttps://graphite.dev/docs/command-reference#flags-13
gt inithttps://graphite.dev/docs/command-reference#gt-init
flagshttps://graphite.dev/docs/command-reference#flags-14
gt log [command]https://graphite.dev/docs/command-reference#gt-log-%5Bcommand%5D
argumentshttps://graphite.dev/docs/command-reference#arguments-11
flagshttps://graphite.dev/docs/command-reference#flags-15
gt mergehttps://graphite.dev/docs/command-reference#gt-merge
flagshttps://graphite.dev/docs/command-reference#flags-16
gt modifyhttps://graphite.dev/docs/command-reference#gt-modify
flagshttps://graphite.dev/docs/command-reference#flags-17
gt movehttps://graphite.dev/docs/command-reference#gt-move
flagshttps://graphite.dev/docs/command-reference#flags-18
gt parenthttps://graphite.dev/docs/command-reference#gt-parent
gt pophttps://graphite.dev/docs/command-reference#gt-pop
gt pr [branch]https://graphite.dev/docs/command-reference#gt-pr-%5Bbranch%5D
argumentshttps://graphite.dev/docs/command-reference#arguments-12
flagshttps://graphite.dev/docs/command-reference#flags-19
gt rebase [args..]https://graphite.dev/docs/command-reference#gt-rebase-%5Bargs-%5D
argumentshttps://graphite.dev/docs/command-reference#arguments-13
gt rename [name]https://graphite.dev/docs/command-reference#gt-rename-%5Bname%5D
argumentshttps://graphite.dev/docs/command-reference#arguments-14
flagshttps://graphite.dev/docs/command-reference#flags-20
gt reorderhttps://graphite.dev/docs/command-reference#gt-reorder
gt reset [args..]https://graphite.dev/docs/command-reference#gt-reset-%5Bargs-%5D
argumentshttps://graphite.dev/docs/command-reference#arguments-15
gt restackhttps://graphite.dev/docs/command-reference#gt-restack
flagshttps://graphite.dev/docs/command-reference#flags-21
gt restore [args..]https://graphite.dev/docs/command-reference#gt-restore-%5Bargs-%5D
argumentshttps://graphite.dev/docs/command-reference#arguments-16
gt revert [sha]https://graphite.dev/docs/command-reference#gt-revert-%5Bsha%5D
argumentshttps://graphite.dev/docs/command-reference#arguments-17
flagshttps://graphite.dev/docs/command-reference#flags-22
gt splithttps://graphite.dev/docs/command-reference#gt-split
flagshttps://graphite.dev/docs/command-reference#flags-23
gt squashhttps://graphite.dev/docs/command-reference#gt-squash
flagshttps://graphite.dev/docs/command-reference#flags-24
gt submithttps://graphite.dev/docs/command-reference#gt-submit
flagshttps://graphite.dev/docs/command-reference#flags-25
gt synchttps://graphite.dev/docs/command-reference#gt-sync
flagshttps://graphite.dev/docs/command-reference#flags-26
gt tophttps://graphite.dev/docs/command-reference#gt-top
gt track [branch]https://graphite.dev/docs/command-reference#gt-track-%5Bbranch%5D
argumentshttps://graphite.dev/docs/command-reference#arguments-18
flagshttps://graphite.dev/docs/command-reference#flags-27
gt trunkhttps://graphite.dev/docs/command-reference#gt-trunk
flagshttps://graphite.dev/docs/command-reference#flags-28
gt undohttps://graphite.dev/docs/command-reference#gt-undo
flagshttps://graphite.dev/docs/command-reference#flags-29
gt unfreeze [branch]https://graphite.dev/docs/command-reference#gt-unfreeze-%5Bbranch%5D
argumentshttps://graphite.dev/docs/command-reference#arguments-19
gt unlink [branch]https://graphite.dev/docs/command-reference#gt-unlink-%5Bbranch%5D
argumentshttps://graphite.dev/docs/command-reference#arguments-20
gt untrack [branch]https://graphite.dev/docs/command-reference#gt-untrack-%5Bbranch%5D
argumentshttps://graphite.dev/docs/command-reference#arguments-21
flagshttps://graphite.dev/docs/command-reference#flags-30
gt up [steps]https://graphite.dev/docs/command-reference#gt-up-%5Bsteps%5D
flagshttps://graphite.dev/docs/command-reference#flags-31
gt upgradehttps://graphite.dev/docs/command-reference#gt-upgrade
Graphite home pagehttps://graphite.com
slackhttps://community.graphite.com
xhttps://x.com/withgraphite/
githubhttps://github.com/withgraphite/
Featureshttps://graphite.com/features
Pricinghttps://graphite.com/pricing
Docshttps://graphite.com/docs
Customershttps://graphite.com/customers
Bloghttps://graphite.com/blog
Careershttps://graphite.com/careers
Contact ushttps://graphite.com/contact-us
Communityhttps://community.graphite.com
Privacy policyhttps://graphite.com/privacy
Terms of servicehttps://graphite.com/terms-of-service
Stacking workflowhttps://graphite.com/stacking
Statushttps://status.graphite.com
GitHubhttps://github.com/withgraphite/
Powered byhttps://www.mintlify.com?utm_campaign=poweredBy&utm_medium=referral&utm_source=graphite-58cc94ce

Viewport: width=device-width, initial-scale=1, maximum-scale=1, viewport-fit=cover


URLs of crawlers that visited me.