simple-cmd-0.1.1: Simple String-based process commands

Safe HaskellSafe
LanguageHaskell2010

SimpleCmd.Git

Synopsis

Documentation

git :: String -> [String] -> IO String #

Run git command and return output

git_ :: String -> [String] -> IO () #

Run git command with output to stdout and stderr

gitBranch :: IO String #

Return the git branch of the current directory

grepGitConfig :: String -> IO Bool #

grep ".git/config" | since 0.1.1

isGitDir :: FilePath -> IO Bool #

Check if directory has a .git/ dir

rwGitDir :: IO Bool #

Check if a git repo is under ssh