Command shortcuts
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:
1
## creating and updating a stack
2
gt bc # gt branch create
3
gt cc # gt commit create
4
gt ca # gt commit amend
5
6
## viewing a stack
7
gt l # gt log
8
gt ls # gt log short
9
gt ll # gt log long
10
11
## navigating a stack
12
gt bco # gt branch checkout
13
gt bu # gt branch up
14
gt bd # gt branch down
15
gt bt # gt branch top
16
gt bb # gt branch bottom
17
18
## creating a pull request
19
gt ss # gt stack submit
20
21
## syncing & resolving conflicts
22
gt rs # gt repo sync
Copied!
Once you're familiar with these shortened commands, you'll be able to work with stacks faster than ever.
Export as PDF
Copy link