Development using git:Configuration: Difference between revisions

From Alpine Linux
(moved content to Include:Git configuration)
 
Line 1: Line 1:
== Configure your global git config ==
== Configure your global git config ==
 
{{:Include:Git configuration}}
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 Full Name"
$ 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.


[[Category:Development]]
[[Category:Development]]

Latest revision as of 11:08, 3 October 2025

Configure your global git config

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.