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

Safe HaskellSafe
LanguageHaskell2010

SimpleCmd.Git

Synopsis

Documentation

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

Run git command and return output

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

Run git command with output to stdout and stderr

gitBranch :: IO String Source #

Return the git branch of the current directory

grepGitConfig :: String -> IO Bool Source #

grep ".git/config" | since 0.1.1

isGitDir :: FilePath -> IO Bool Source #

Check if directory has a .git/ dir

rwGitDir :: IO Bool Source #

Check if a git repo is under ssh