← All procedures

git.rebase.continue

Continue a rebase after the conflicts are resolved and staged

CLI
Package
@procedures/git · README
Path
["git","rebase","continue"]
CLI
mark git rebase continue
As data
{"$proc":["git","rebase","continue"],"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","continue"], {});
console.log(JSON.stringify(result));

From the command line

$ mark git rebase continue

As data, in a program

{ "$proc": ["git", "rebase", "continue"], "input": {} }

Input

FieldTypeRequiredDefaultDescription
cwdstringnoWorking directory

Output

FieldTypeRequiredDefaultDescription
hashstringyesHEAD after the call
completedbooleanyesTrue when the rebase is complete
upToDatebooleanyesTrue when nothing changed
conflictbooleanyesTrue when the rebase stopped on conflicts
conflictsstring[]noThe files with conflicts
JSON Schemas
{
  "input": {
    "type": "object",
    "properties": {
      "cwd": {
        "description": "Working directory",
        "type": "string"
      }
    }
  },
  "output": {
    "type": "object",
    "properties": {
      "hash": {
        "type": "string",
        "description": "HEAD after the call"
      },
      "completed": {
        "type": "boolean",
        "description": "True when the rebase is complete"
      },
      "upToDate": {
        "type": "boolean",
        "description": "True when nothing changed"
      },
      "conflict": {
        "type": "boolean",
        "description": "True when the rebase stopped on conflicts"
      },
      "conflicts": {
        "description": "The files with conflicts",
        "type": "array",
        "items": {
          "type": "string"
        }
      }
    },
    "required": [
      "hash",
      "completed",
      "upToDate",
      "conflict"
    ],
    "additionalProperties": {}
  }
}