2017 © Pedro Peláez
 

library git-config

Git Config value provider

image

aurimasniekis/git-config

Git Config value provider

  • Friday, March 24, 2017
  • by gcds
  • Repository
  • 1 Watchers
  • 0 Stars
  • 2 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

GitConfig Component

Latest Version Software License Build Status Code Coverage Quality Score Total Downloads, (*1)

Email, (*2)

Provides interface for git config., (*3)

Install

Via Composer, (*4)

$ composer require aurimasniekis/git-config

Usage

Initialization:, (*5)

// Uses `git` from $PATH and standard `.gitconfig` files
$config = new Config();

// Uses custom `git` path
$config = new Config('/usr/local/bin/git');

// Uses custom `.gitconfig` file
$config = new Config(null, '~/.gitconfig');

Get value, (*6)

$config->get('user.name')

Set value, (*7)

$config->get('user.name', 'Foo Bar')

Unset value, (*8)

$config->unSet('user.name')

Testing

$ composer test

Contributing

Please see CONTRIBUTING and CONDUCT for details., (*9)

License

Please see License File for more information., (*10)

The Versions

24/03 2017

dev-master

9999999-dev https://github.com/aurimasniekis/git-config

Git Config value provider

  Sources   Download

MIT

The Requires

  • php >=7.1

 

The Development Requires

git config git-config

24/03 2017

1.0.0

1.0.0.0 https://github.com/aurimasniekis/git-config

Git Config value provider

  Sources   Download

MIT

The Requires

  • php >=7.1

 

The Development Requires

git config git-config