mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-26 16:53:10 +03:00
Add examples to git-config
This commit is contained in:
parent
250980742c
commit
dd8d8fc95a
@ -124,9 +124,12 @@ To configure settings. Whether it be for the repository, the system itself,
|
||||
or global configurations ( global config file is `~/.gitconfig` ).
|
||||
|
||||
```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.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)
|
||||
|
Loading…
Reference in New Issue
Block a user