simple-cmd-0.1.2: Simple String-based process commands
SimpleCmd.Git
git Source #
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 String Source #
gitBranch returns the git branch of the current directory
gitBranch
grepGitConfig :: String -> IO Bool Source #
'grepGitConfig pat' greps ".git/config" for extended regexp
Since: simple-cmd-0.1.1
isGitDir :: FilePath -> IO Bool Source #
'isGitDir dir' checks if directory has a .git/ subdir
rwGitDir :: IO Bool Source #
rwGitDir checks if a git repo is under ssh
rwGitDir