module

Crinit::Git

Class methods

executable
Source
executable=(executable : String)
Source
git_capture(args : Array(String)) : String | Nil

Captures standard output from a Git command.

Source
git_command(args : Array(String), output : Process::Stdio = Process::Redirect::Close) : Bool

Executes a Git command with given arguments.

Source
git_config(key : String) : String | Nil

Reads a Git configuration key.

Source
init(dir : String, silent : Bool = false) : Bool

Initializes a Git repository in the target directory.

Source