2015-04-19 08:18:17 -04:00
|
|
|
{- git remote removal
|
2014-10-27 11:24:21 -04:00
|
|
|
-
|
2015-01-21 12:50:09 -04:00
|
|
|
- Copyright 2012 Joey Hess <id@joeyh.name>
|
2014-10-27 11:24:21 -04:00
|
|
|
-
|
2019-03-13 15:48:14 -04:00
|
|
|
- Licensed under the GNU AGPL version 3 or higher.
|
2014-10-27 11:24:21 -04: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 16:10:25 -04:00
|
|
|
remove remotename = Git.Command.run
|
|
|
|
[ Param "remote"
|
|
|
|
, Param "remove"
|
|
|
|
, Param remotename
|
|
|
|
]
|