Skip to content

Commit

Permalink
added Repo#remote_remove(name, callback)
Browse files Browse the repository at this point in the history
  • Loading branch information
notatestuser committed Mar 12, 2013
1 parent d2ccc6e commit 334417e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/repo.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 334417e

Please sign in to comment.