Command shortcuts
Tip
Graphite's CLI is intended to be used for every operation related to source control, so we wanted to make sure it feels fast and efficient to use. One of the easiest ways to save time with gt
is to use the abbreviated commands.
Every command in gt
has a short version to save you time as you're typing, and we strongly recommend that you get familiar with the abbreviated versions of the most frequently used commands:
## creating and updating a stackgt bc # gt branch creategt cc # gt commit creategt ca # gt commit amend## viewing a stackgt l # gt loggt ls # gt log shortgt ll # gt log long## navigating a stackgt bco # gt branch checkoutgt bu # gt branch upgt bd # gt branch downgt bt # gt branch topgt bb # gt branch bottom## creating a pull requestgt ss # gt stack submit## syncing & resolving conflictsgt rs --restack # gt repo sync (plus restack flag)
Once you're familiar with these shortened commands, you'll be able to work with stacks faster than ever. There are even more of these in the command reference!