Include:Git configuration: Difference between revisions
Prabuanand (talk | contribs) (moved the content from Development using git:Configuration) |
(The name doesn't need to be a full name and some people might be scared when making it seem like it) |
||
Line 1: | Line 1: | ||
Configure your name and email address in git. This name and email address will show up in all your commits: {{Cmd|$ git config --global user.name "Your | Configure your name and email address in git. This name and email address will show up in all your commits: {{Cmd|$ git config --global user.name "Your Name" | ||
$ git config --global user.email "your@email.address"}} | $ git config --global user.email "your@email.address"}} | ||
Using <tt>git config</tt> without <tt>--global</tt> let you configure other details for a specific git repository. | Using <tt>git config</tt> without <tt>--global</tt> let you configure other details for a specific git repository. |
Latest revision as of 12:59, 5 October 2025
Configure your name and email address in git. This name and email address will show up in all your commits:
$ git config --global user.name "Your Name" $ git config --global user.email "your@email.address"
Using git config without --global let you configure other details for a specific git repository.