From 334417ea344fcd6cf51d7f84f3e70bedd0e52464 Mon Sep 17 00:00:00 2001 From: luke Date: Tue, 12 Mar 2013 16:05:10 +0000 Subject: [PATCH] added Repo#remote_remove(name, callback) --- src/repo.coffee | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/repo.coffee b/src/repo.coffee index 55335ab..4fee06a 100644 --- a/src/repo.coffee +++ b/src/repo.coffee @@ -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 - String name of the remote