1
0
mirror of https://github.com/danog/gift.git synced 2024-11-30 04:19:37 +01:00

[README] #remote_remove and #remote_push

This commit is contained in:
Luke Plaster 2013-03-17 15:38:44 +00:00
parent 3afe421d38
commit cf01b461d4

View File

@ -80,9 +80,15 @@ Get the string names of each of the remotes.
### `Repo#remote_add(name, url, callback)`
Equivalent to `git remote add <name> <url>`.
### `Repo#remote_remove(name, callback)`
Remove a remote.
### `Repo#remote_fetch(name, callback)`
`git fetch <name>`
### `Repo#remote_push(name, callback)`
`git push <name>`
### `Repo#status(callback)`
Uses `--porcelain` to parse repository status in a way that is agnostic of system language. The callback receives `(err, status)`. See below for a definition of what `status` is.