mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-24 18:11:38 +00:00
Merge pull request #4453 from mribeirodantas/improve-git-en
[git/en] add code example to git-config
This commit is contained in:
commit
627387d8d6
@ -124,9 +124,12 @@ To configure settings. Whether it be for the repository, the system itself,
|
|||||||
or global configurations ( global config file is `~/.gitconfig` ).
|
or global configurations ( global config file is `~/.gitconfig` ).
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Print & Set Some Basic Config Variables (Global)
|
# Set & Print Some Basic Config Variables (Global)
|
||||||
$ git config --global user.email "MyEmail@Zoho.com"
|
$ git config --global user.email "MyEmail@Zoho.com"
|
||||||
$ git config --global user.name "My Name"
|
$ git config --global user.name "My Name"
|
||||||
|
|
||||||
|
$ git config --global user.email
|
||||||
|
$ git config --global user.name
|
||||||
```
|
```
|
||||||
|
|
||||||
[Learn More About git config.](http://git-scm.com/docs/git-config)
|
[Learn More About git config.](http://git-scm.com/docs/git-config)
|
||||||
|
Loading…
Reference in New Issue
Block a user