diff options
author | Marcel Ribeiro-Dantas <marcel.ribeiro-dantas@curie.fr> | 2022-07-17 16:55:07 +0200 |
---|---|---|
committer | Marcel Ribeiro-Dantas <mribeirodantas@hey.com> | 2022-07-17 16:55:07 +0200 |
commit | dd8d8fc95a5f00cb42d301394ac0ca309a6ecbbf (patch) | |
tree | c3c79b907011fa01bd1dc56675cd755acdea52c9 /git.html.markdown | |
parent | 250980742c5f03f58a089390ab9e524d95539fbd (diff) |
Add examples to git-config
Diffstat (limited to 'git.html.markdown')
-rw-r--r-- | git.html.markdown | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/git.html.markdown b/git.html.markdown index 474ee25d..0d8e43ec 100644 --- a/git.html.markdown +++ b/git.html.markdown @@ -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) |