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

added Repo#remote_remove(name, callback)

This commit is contained in:
luke 2013-03-12 16:05:10 +00:00
parent d2ccc6e406
commit 334417ea34

View File

@ -103,6 +103,16 @@ module.exports = class Repo
, (err, stdout, stderr) ->
callback err
# Public: Remove a remote.
#
# name - String name of the remote.
# callback - Receives `(err)`
#
remote_remove: (name, callback) ->
@git "remote", {}, ["rm", name]
, (err, stdout, stderr) ->
callback err
# Public: `git fetch <name>`.
#
# name - String name of the remote