Ggit.Repository.add_remote_push

### Method

# Ggit Repositoryadd_remote_push

#### Declaration [src]

    void
    ggit_repository_add_remote_push (
      GgitRepository* repository,
      GgitRemote* remote,
      const gchar* refspec,
      GError** error
    )

#### Description [src]

Adds a push refspec to `remote`‘s configuration. Adds the given refspec to the push list in the configuration. No loaded remote instances will be affected.

#### Parameters

`remote` | `GgitRemote`
| A `GgitRemote`.
| The data is owned by the caller of the function.
`refspec` | `const gchar*`
| The push refspec.
| The data is owned by the caller of the function.
| The value is a NUL terminated UTF-8 string.
`error` | `GError **`
| The return location for a `GError*`, or `NULL`.