Skip to content

Commit 6a2bf4f

Browse files
authored
Merge branch 'main' into radu_new_workflows
2 parents cd9e6ec + ece0417 commit 6a2bf4f

14 files changed

Lines changed: 145 additions & 3 deletions

build_ts/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build_ts/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "warp-workflows",
3-
"version": "1.0.9",
3+
"version": "1.0.10",
44
"description": "Workflows used within Warp",
55
"main": "dist/warp-workflows.js",
66
"types": "dist/index.d.ts",
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
name: Graphite - Checkout a branch
3+
command: "gt bco {{branch_name}}"
4+
tags:
5+
- graphite
6+
description: "Alias `bco`. Switch to or checkout a branch. Similar to `git checkout <branch_name>`"
7+
arguments:
8+
- name: branch_name
9+
description: The name of the branch that you want to checkout
10+
default_value: main
11+
source_url: "https://graphite.dev/docs/command-reference"
12+
author: graphite
13+
author_url: "https://graphite.dev/"
14+
shells: []
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
name: Graphite - Create a branch with an accompanying commit message
3+
command: "gt bc -am {{commit_message}}"
4+
tags:
5+
- graphite
6+
description: "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+
arguments:
8+
- name: commit_message
9+
description: The message to assign to this commit.
10+
default_value: ~
11+
source_url: "https://graphite.dev/docs/command-reference"
12+
author: graphite
13+
author_url: "https://graphite.dev/"
14+
shells: []
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
name: Graphite - Restacks the current branch to its parent
3+
command: "gt branch restack"
4+
tags:
5+
- graphite
6+
description: "Alias: `br`. Ensure the current branch is based on its parent, rebasing if necessary."
7+
source_url: "https://graphite.dev/docs/command-reference"
8+
author: graphite
9+
author_url: "https://graphite.dev/"
10+
shells: []
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
name: Graphite - Pushes (force) the current branch to GitHub
3+
command: "gt branch submit"
4+
tags:
5+
- graphite
6+
description: "Alias: `bs`. Idempotently force push the current branch to GitHub, creating or updating a pull request."
7+
arguments: []
8+
source_url: "https://graphite.dev/docs/command-reference"
9+
author: graphite
10+
author_url: "https://graphite.dev/"
11+
shells: []
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
name: Graphite - Edit the branches
3+
command: "gt downstack edit"
4+
tags:
5+
- graphite
6+
description: "Alias `dse`. Edit the order of the branches between trunk and the current branch, restacking all of their descendants."
7+
arguments:
8+
- name: branch_name
9+
description: The name of the branch that you want to fetch from remote
10+
default_value: main
11+
source_url: "https://graphite.dev/docs/command-reference"
12+
author: graphite
13+
author_url: "https://graphite.dev/"
14+
shells: []
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
name: Graphite - Get downstack from remote
3+
command: "gt downstack get {{branch_name}}"
4+
tags:
5+
- graphite
6+
description: "Alias `dsg`. Get branches from trunk to the specified branch from remote, prompting the user to resolve conflicts."
7+
arguments:
8+
- name: branch_name
9+
description: The name of the branch that you want to fetch from remote
10+
default_value: main
11+
source_url: "https://graphite.dev/docs/command-reference"
12+
author: graphite
13+
author_url: "https://graphite.dev/"
14+
shells: []
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
name: Graphite - Rebase the parent branches
3+
command: "gt downstack restack"
4+
tags:
5+
- graphite
6+
description: "Alias `dsr`. From trunk to the current branch, ensure each is based on its parent, rebasing if necessary."
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 - Push the parent branches to GitHub
3+
command: "gt downstack submit"
4+
tags:
5+
- graphite
6+
description: "Alias `dss`. Idempotently force push all branches from trunk to the current branch to GitHub, creating or updating distinct pull requests for each."
7+
arguments: []
8+
source_url: "https://graphite.dev/docs/command-reference"
9+
author: graphite
10+
author_url: "https://graphite.dev/"
11+
shells: []

0 commit comments

Comments
 (0)