Method: Rugged::Rebase#abort

Defined in:
ext/rugged/rugged_rebase.c

#abortnil

Abort the rebase currently in process, resetting the repository and working directory to their state before the rebase began.

Returns:

  • (nil)
[View source]

325
326
327
328
329
330
331
332
333
# File 'ext/rugged/rugged_rebase.c', line 325

static VALUE rb_git_rebase_abort(VALUE self)
{
	git_rebase *rebase;

	Data_Get_Struct(self, git_rebase, rebase);
	rugged_exception_check(git_rebase_abort(rebase));

	return Qnil;
}