Development using git:Configuration: Difference between revisions

From Alpine Linux
(Created page with "== Configure your global git config == First you need to tell your name and email to git. This name and email will show up in all your commits. {{Cmd|<nowiki>git config --global...")
 
(Category:Development)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
== Configure your global git config ==
=== Configure your global git config ===
First you need to tell your name and email to git. This name and email will show up in all your commits.
First you need to tell your name and email to git. This name and email will show up in all your commits.


Line 6: Line 6:


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.
[[Category:Development]]

Latest revision as of 06:19, 12 March 2012

Configure your global git config

First you need to tell your name and email to git. This name and email will show up in all your commits.

git config --global user.name "Your Name Comes Here" git config --global user.email you@yourdomain.example.com

Using git config without --global let you configure other details for a specific git repository.