1
0
mirror of https://github.com/danog/gift.git synced 2024-11-26 20:04:47 +01:00

added Repo#remote_push(name, callback)

This commit is contained in:
luke 2013-03-12 12:17:17 +00:00
parent 18952cdb12
commit d2ccc6e406

View File

@ -113,6 +113,16 @@ module.exports = class Repo
, (err, stdout, stderr) ->
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>`.
#
# name - String name of the source