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

Safe HaskellSafe-Inferred

SimpleCmd.Git

Synopsis

Documentation

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

Run git command and return output

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

Run git command with output to stdout and stderr

gitBranch :: IO StringSource

Return the git branch of the current directory

grepGitConfig :: String -> IO BoolSource

grep .git/config | since 0.1.1

isGitDir :: FilePath -> IO BoolSource

Check if directory has a .git/ dir

rwGitDir :: IO BoolSource

Check if a git repo is under ssh