Ggit.Repository.revert

### Method

# Ggit Repositoryrevert

#### Declaration [src]

    gboolean
    ggit_repository_revert (
      GgitRepository* repository,
      GgitCommit* commit,
      GgitRevertOptions* options,
      GError** error
    )

#### Description [src]

Revert the given `commit` on top of the current working directory.

#### Parameters

`commit` | `GgitCommit`
| A `GgitCommit`.
| The data is owned by the caller of the function.
`options` | `GgitRevertOptions`
| A `GgitRevertOptions`.
| The data is owned by the caller of the function.
`error` | `GError **`
| The return location for a `GError*`, or `NULL`.

#### Return value

Returns: | `gboolean`
| `TRUE` if the revert was successfull, `FALSE` otherwise.