Initialize Graphite in a repository

Graphite stores a small JSON configuration file in .git/.graphite_repo_config of your repository. On the first execution of any gt command (per repository), or by directly running gt repo init, the CLI will prompt you to select a trunk branch for your development flow to populate this config.

Terminal
cd ~/my-project
gt init