MyTetra Share
Делитесь знаниями!
configuration files
Время создания: 19.04.2017 18:14
Раздел: git - configuration files
Запись: xintrea/mytetra_db_mcold/master/base/1492614793zwx2pqigkw/text.html на raw.githubusercontent.com

### 8. Configuration Files

```sh

.git/config

```

> Repository-specific configuration settings manipulated with the --file option or

by default. These settings have the highest precedence.

```sh

~/.gitconfig

```

> User-specific configuration settings manipulated with the --global option.

Здесь хранятся настройки для всех коммитов: user и email


> Данные команды записывают глобальные переменные для всех коммитов в файл ~/.gitconfig

```sh

$ git config --global user.name "Jon Loeliger"

$ git config --global user.email "jdl@example.com"

```

> Удаление значение переменной:

```sh

git config --unset --global user.email


/etc/gitconfig

```

> System-wide configuration settings manipulated with the --system option if you

have proper Unix file write per missions on it. These settings have the lowest prece-

dence. Depending on your actual installation, the system settings file might be

somewhere else (perhaps in /usr/local/etc/gitconfig), or may be entirely absent.

```sh

git config --system

```

Так же в этом разделе:
 
MyTetra Share v.0.59
Яндекс индекс цитирования