mirror of
https://github.com/danog/gift.git
synced 2024-11-30 04:19:37 +01:00
added Repo#remote_push(name, callback)
This commit is contained in:
parent
18952cdb12
commit
d2ccc6e406
@ -113,6 +113,16 @@ module.exports = class Repo
|
|||||||
, (err, stdout, stderr) ->
|
, (err, stdout, stderr) ->
|
||||||
callback err
|
callback err
|
||||||
|
|
||||||
|
# Public: `git push <name>`.
|
||||||
|
#
|
||||||
|
# name - String name of the remote
|
||||||
|
# callback - Receives `(err)`.
|
||||||
|
#
|
||||||
|
remote_push: (name, callback) ->
|
||||||
|
@git "push", {}, name
|
||||||
|
, (err, stdout, stderr) ->
|
||||||
|
callback err
|
||||||
|
|
||||||
# Public: `git merge <name>`.
|
# Public: `git merge <name>`.
|
||||||
#
|
#
|
||||||
# name - String name of the source
|
# name - String name of the source
|
||||||
|
Loading…
Reference in New Issue
Block a user