Skip to content

Commit 2511bd2

Browse files
author
elvis kahoro
committed
Adding more of the graphite workflows primarily the ones specific to
branches
1 parent 2a8af27 commit 2511bd2

40 files changed

Lines changed: 277 additions & 33 deletions
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
name: Graphite - Authorize the Graphite CLI
3+
command: "gt auth"
4+
tags:
5+
- graphite
6+
description: "Add your auth token to enable Graphite CLI to create and update your PRs on GitHub."
7+
arguments: []
8+
source_url: "https://graphite.dev/docs/graphite-cheatsheet"
9+
author: graphite
10+
author_url: "https://graphite.dev/"
11+
shells: []

specs/graphite/gt_auth.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
name: Graphite - Authorize the Graphite CLI
3+
command: "gt auth"
4+
tags:
5+
- graphite
6+
description: "Add your auth token to enable Graphite CLI to create and update your PRs on GitHub."
7+
arguments: []
8+
source_url: "https://graphite.dev/docs/command-reference"
9+
author: graphite
10+
author_url: "https://graphite.dev/"
11+
shells: []
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
name: Graphite - Jump to the bottom of the stack
3+
command: "gt branch bottom"
4+
tags:
5+
- graphite
6+
description: "Alias `bb`. Quickly move all the way down (bb) the stack"
7+
arguments: []
8+
source_url: "https://graphite.dev/docs/command-reference"
9+
author: graphite
10+
author_url: "https://graphite.dev/"
11+
shells: []

specs/graphite/gt_branch_checkout.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ name: Graphite - Checkout a branch
33
command: "gt bco {{branch_name}}"
44
tags:
55
- graphite
6-
description: "Switch to or checkout a branch. Similar to `git checkout <branch_name>`"
6+
description: "Alias `bco`. Switch to or checkout a branch. Similar to `git checkout <branch_name>`"
77
arguments:
88
- name: branch_name
99
description: The name of the branch that you want to checkout
1010
default_value: main
11-
source_url: "https://graphite.dev/docs/graphite-cheatsheet"
11+
source_url: "https://graphite.dev/docs/command-reference"
1212
author: graphite
1313
author_url: "https://graphite.dev/"
1414
shells: []

specs/graphite/gt_branch_create.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ command: "gt branch create"
44
tags:
55
- graphite
66
description: "Alias: `bc`. Create a new branch stacked on top of the current branch and commit staged changes. If no branch name is specified but a commit message is passed, generate a branch name from the commit message."
7-
source_url: "https://graphite.dev/docs/graphite-cheatsheet"
7+
source_url: "https://graphite.dev/docs/command-reference"
88
author: graphite
99
author_url: "https://graphite.dev/"
1010
shells: []

specs/graphite/gt_branch_delete.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ command: "gt branch delete"
44
tags:
55
- graphite
66
description: "Alias: `bdl`. Delete a branch and its corresponding Graphite metadata."
7-
source_url: "https://graphite.dev/docs/graphite-cheatsheet"
7+
source_url: "https://graphite.dev/docs/command-reference"
88
author: graphite
99
author_url: "https://graphite.dev/"
1010
shells: []

specs/graphite/gt_branch_down.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ name: Graphite - Move down the stack of branches
33
command: "gt branch down {{step}}"
44
tags:
55
- graphite
6-
description: "Quickly move down a stack of branches. By default, takes a step argument of 1, but can add a step value (ex. gt branch up 2) to skip a certain number of branches."
6+
description: "Alias `bd`. Quickly move down a stack of branches. By default, takes a step argument of 1, but can add a step value (ex. gt branch up 2) to skip a certain number of branches."
77
arguments:
88
- name: step
99
description: The number of branches to pass when traversing the stack of branches.
1010
default_value: 1
11-
source_url: "https://graphite.dev/docs/graphite-cheatsheet"
11+
source_url: "https://graphite.dev/docs/command-reference"
1212
author: graphite
1313
author_url: "https://graphite.dev/"
1414
shells: []

specs/graphite/gt_branch_edit.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ command: "gt branch edit"
44
tags:
55
- graphite
66
description: "Alias: `be`. Run an interactive rebase on the current branch's commits and restack upstack branches."
7-
source_url: "https://graphite.dev/docs/graphite-cheatsheet"
7+
source_url: "https://graphite.dev/docs/command-reference"
88
author: graphite
99
author_url: "https://graphite.dev/"
1010
shells: []

specs/graphite/gt_branch_fold.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ command: "gt branch fold"
44
tags:
55
- graphite
66
description: "Alias: `bf`. Fold a branch's changes into its parent, update dependencies of descendants of the new combined branch, and restack."
7-
source_url: "https://graphite.dev/docs/graphite-cheatsheet"
7+
source_url: "https://graphite.dev/docs/command-reference"
88
author: graphite
99
author_url: "https://graphite.dev/"
1010
shells: []

specs/graphite/gt_branch_info.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
name: Graphite - Displays information about the current branch
3+
command: "gt branch info"
4+
tags:
5+
- graphite
6+
description: "Alias: `bi`. Display information about the current branch."
7+
source_url: "https://graphite.dev/docs/command-reference"
8+
author: graphite
9+
author_url: "https://graphite.dev/"
10+
shells: []

0 commit comments

Comments
 (0)