← All procedures
git.rebase.abort
Stop a rebase, and go back to the branch as it was before the rebase
CLI- Package
- @procedures/git · README
- Path
["git","rebase","abort"]- CLI
mark git rebase abort- As data
{"$proc":["git","rebase","abort"],"input":{}}
Use it
In TypeScript
import { Client, LocalTransport, PROCEDURE_REGISTRY } from "@procedures/client";
import "@procedures/git/register"; // registers its procedures
const client = new Client(new LocalTransport({ registry: PROCEDURE_REGISTRY }));
const result = await client.exec(["git","rebase","abort"], {});
console.log(JSON.stringify(result));From the command line
$ mark git rebase abort
As data, in a program
{ "$proc": ["git", "rebase", "abort"], "input": {} }Input
Output
JSON Schemas
{
"input": {
"type": "object",
"properties": {
"cwd": {
"description": "Working directory",
"type": "string"
}
}
},
"output": {
"type": "object",
"properties": {
"aborted": {
"type": "boolean",
"description": "True when the rebase was stopped"
},
"hash": {
"type": "string",
"description": "HEAD after the call"
}
},
"required": [
"aborted",
"hash"
],
"additionalProperties": {}
}
}