plugins

Home

Examples

Plugins

Components

News

git-base

version: 0.3.1 |  date: 06/27/2021 |  Installs git and makes simple git configuration. |  source code

# SYNOPSIS

Installs git and makes simple git configuration.

# INSTALL

    $ s6 --install git-base

# USAGE

This command will installs git client and set git global configuration for email and name parameters. 

    $ s6 --plg-run git-base@install_git=on,email=melezhik@gmail.com,name='Alexey Melezhik'

# Parameter

## email

Should be valid email address. Obligatory, no default value.

## name

Should be your name. Obligatory, no default value.

## install_git

If set to 'on' installs git client, if not - do not install. 

Default value is `off` ( do not install ). 

Optional.

# config_scope

`global|local`

If set to `global` make settings for git global configuration

If set to `local` make settings for git local configuration

Default value is `global`

Example of `local`:

    $ s6 --plg-run git-base@config_scope=local,email=melezhik@gmail.com,name='Alexey Melezhik'

# set\_credential\_cache

If set to `on` invoke `credential.helper 'cache --timeout=3000000'`. 

Default value is `off` ( do not set ). 

Optional.

# Platforms supported

* CentOS
* Ubuntu
* Debian
* Minoca OS
* Windows
 
# Author

[Alexey Melezhik](mailto:gmail.com)