diff options
| author | tekkub <tekkub@gmail.com> | 2009-08-18 15:09:30 -0600 |
|---|---|---|
| committer | tekkub <tekkub@gmail.com> | 2009-08-18 15:09:30 -0600 |
| commit | e6c0b3c90e424a3187473f52c4cdc6db7746d559 (patch) | |
| tree | ca5650b435acdc2b2b2aafa8ee1ae786f0899e09 /_posts/2009-06-20-git-email-settings.textile | |
| parent | 89c8115fd43a8c7a6683d4704be6472e34aab067 (diff) | |
Tweak email config guide
Diffstat (limited to '_posts/2009-06-20-git-email-settings.textile')
| -rw-r--r-- | _posts/2009-06-20-git-email-settings.textile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/_posts/2009-06-20-git-email-settings.textile b/_posts/2009-06-20-git-email-settings.textile index 11bd678..6898ed7 100644 --- a/_posts/2009-06-20-git-email-settings.textile +++ b/_posts/2009-06-20-git-email-settings.textile @@ -5,7 +5,9 @@ description: Configure your local git installation so that commits are linked to categories: setup --- -This guide covers basic git settings you should set before making any commits +This guide covers basic git settings you should set before making any commits. + +Please note that config changes will only affect future commits. Existing commits will retain the info they were committed with. Also, the environment variables @GIT_COMMITTER_NAME@, @GIT_COMMITTER_EMAIL@, @GIT_AUTHOR_NAME@ and @GIT_AUTHOR_EMAIL@ will override git-config settings if they are defined. h2. Setting user name and email globally in git @@ -20,8 +22,6 @@ h2. Overriding settings for individual repos If you do not want commits to be "blamed" on your global email setting, you can override these settings on a per-repo basis. -p(. _This change will only affect future commits. Existing commits will retain the info they were committed with._ - <pre class="terminal">$ cd my_other_repo $ git config user.name "Not Tekkub" $ git config user.email "not@tekkub.net"</pre> @@ -33,4 +33,4 @@ Some tools connect to GitHub without SSH, for these tools you need to set your " <pre class="terminal">$ git config --global github.user tekkub $ git config --global github.token 0123456789abcdef0123456789abcdef</pre> -If you change your GitHub password a new token will be created, therefore you'll need to change this setting.
\ No newline at end of file +If you change your GitHub password a new token will be created, therefore you'll need to change this setting. |
