git_rebase_abort

Aborts a rebase that is currently in progress, resetting the repository and working directory to their state before rebase began.

extern (C) nothrow @nogc
int
git_rebase_abort

Parameters

rebase libgit2_d.types.git_rebase*

The rebase that is in-progress

Return Value

Type: int

Zero on success; git_error_code.GIT_ENOTFOUND if a rebase is not in progress, -1 on other errors.

Meta