simple-cmd-0.1.3.1: Simple String-based process commands
SimpleCmd.Git
Description
Some wrappers for git commands.
Synopsis
gitSource
Arguments
git command
arguments
output
'git c args' runs git command and return output
git_ :: String -> [String] -> IO ()Source
'git_ c args' run git command with output to stdout and stderr
gitBranch :: IO StringSource
gitBranch returns the git branch of the current directory
gitBranch
gitDiffQuiet :: [String] -> IO BoolSource
grepGitConfig :: String -> IO BoolSource
isGitDir :: FilePath -> IO BoolSource
'isGitDir dir' checks if directory has a .git/ subdir
rwGitDir :: IO BoolSource
rwGitDir checks if a git repo is under ssh
rwGitDir