Installs Git from package, source, or the Git for Windows installer and manages Git configuration.
This cookbook is concerned with the Git SCM utility. It does not address ecosystem tooling or related projects.
This cookbook is maintained by the Sous Chefs. The Sous Chefs are a community of Chef cookbook maintainers working together to maintain important cookbooks. If you’d like to know more please visit sous-chefs.org or come chat with us on the Chef Community Slack in #sous-chefs.
- Chef 15.3+
- ark (for
git_clientsource install)
Use the git_client resource directly from your cookbook:
git_client 'default'For source installs:
git_client 'source' do
source_version '2.54.0'
action :install_from_source
endgit_client: Manages a Git client installation on a machine. Source install action is available on Linux.git_config: Sets up Git configuration on a node.
This cookbook is now a custom-resource-only cookbook. See migration.md for the breaking changes from recipe and node attribute usage to resource properties.
This project exists thanks to all the people who contribute.
Thank you to all our backers!
Support this project by becoming a sponsor. Your logo will show up here with a link to your website.