Learn about the differences between Graphite and other tools for stacking pull requests.
gt
flow vs. the arc
flow). And it’s not always straightforward to compare the Mercurial vs. gt
workflows one-to-one. For example, in Mercurial you would commit as usual, then submit with arc diff
/ jf submit
. In Graphite, you commit using gt create
and gt submit
.
Overall however Graphite offers the best features of Phabricator, along with a greatly improved, polished user experience.
sl
, meaning you can’t use familiar git
commands. Each sl
command is used completely in place of its equivalent git
command.
The Graphite CLI works on any repository as long as you’ve initialized gt
inside of it (using gt repo init
, or invoking any other gt
command). The gt
CLI also utilizes Git passthrough: gt
will pass any commands it doesn’t know through to git
so that your regular git
workflow remains uninterrupted.
git
), and each branch has exactly one commit —this may look familiar and feel comfortable to those coming from a Mercurial background, but might feel restrictive to those coming from Git.
Graphite is flexible across multiple workflows in order to account for developers of all backgrounds and experiences. Depending on what you’re comfortable with, you can stage your changes, create multiple commits on a branch, continuously amend one commit and so on, all while maintaining the ability to stack and submit PRs with gt
.
git
commands under the hood to try to automate some of the more repetitive parts of the workflow.
Sapling has support for commands like undo
which Graphite doesn’t yet support.
Both Sapling and Graphite CLI tools optimize development for stacked changes, and both automatically rebase your modifications as you build your stack. In general, Sapling reflects a workflow very close and true to Mercurial’s, while Graphite is a bit more flexible and might be more accommodating for users who are starting with an established Git workflow.
/
shortcut to invoke your own macros, and include emojis and memes from a shared customizable meme library.