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:
parent
3afe421d38
commit
cf01b461d4
@ -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.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user