Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 1.11 KB

README.md

File metadata and controls

33 lines (24 loc) · 1.11 KB

GitCommand

Build Status Cirrus CI - Base Branch Build Status Codecov

GitCommand allows you to use command-line Git in your Julia packages. You do not need to have Git installed on your computer, and neither do the users of your packages!

GitCommand provides a Git binary via Git_jll. Git_jll uses the Pkg Artifacts system, and therefore Git_jll and GitCommand require at least Julia 1.3.

GitCommand is intended to work on any platform that supports Julia, including (but not limited to) Windows, macOS, Linux, and FreeBSD.

Examples

using GitCommand

git() do git
    run(`$git clone https://github.com/JuliaRegistries/General`)
end
using GitCommand

run(git`clone https://github.com/JuliaRegistries/General`)