From dd8d8fc95a5f00cb42d301394ac0ca309a6ecbbf Mon Sep 17 00:00:00 2001 From: Marcel Ribeiro-Dantas Date: Sun, 17 Jul 2022 16:55:07 +0200 Subject: Add examples to git-config --- git.html.markdown | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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) -- cgit v1.2.3