2015-04-19 12:18:17 +00:00
|
|
|
{- git remote removal
|
2014-10-27 15:24:21 +00:00
|
|
|
-
|
2015-01-21 16:50:09 +00:00
|
|
|
- Copyright 2012 Joey Hess <id@joeyh.name>
|
2014-10-27 15:24:21 +00:00
|
|
|
-
|
2019-03-13 19:48:14 +00:00
|
|
|
- Licensed under the GNU AGPL version 3 or higher.
|
2014-10-27 15:24:21 +00:00
|
|
|
-}
|
|
|
|
|
|
|
|
{-# LANGUAGE CPP #-}
|
|
|
|
|
|
|
|
module Git.Remote.Remove where
|
|
|
|
|
|
|
|
import Common
|
|
|
|
import Git
|
|
|
|
import Git.Types
|
|
|
|
import qualified Git.Command
|
|
|
|
|
|
|
|
remove :: RemoteName -> Repo -> IO ()
|
2019-09-11 20:10:25 +00:00
|
|
|
remove remotename = Git.Command.run
|
|
|
|
[ Param "remote"
|
|
|
|
, Param "remove"
|
|
|
|
, Param remotename
|
|
|
|
]
|