diff options
| author | tekkub <tekkub@gmail.com> | 2011-03-06 03:32:18 -0700 |
|---|---|---|
| committer | tekkub <tekkub@gmail.com> | 2011-03-06 03:32:18 -0700 |
| commit | 195bb6e477231b96c18b2062f1ef59d64a6f81cd (patch) | |
| tree | 969c3a39495ef01827896c82901feaa41f637270 /_posts/2009-06-13-linux-set-up-git.markdown | |
| parent | c654942c1ca3c7eec0644ed40238a9d53129ae93 (diff) | |
Use a common include for the email settings
Diffstat (limited to '_posts/2009-06-13-linux-set-up-git.markdown')
| -rw-r--r-- | _posts/2009-06-13-linux-set-up-git.markdown | 26 |
1 files changed, 1 insertions, 25 deletions
diff --git a/_posts/2009-06-13-linux-set-up-git.markdown b/_posts/2009-06-13-linux-set-up-git.markdown index 8ed6731..496cc20 100644 --- a/_posts/2009-06-13-linux-set-up-git.markdown +++ b/_posts/2009-06-13-linux-set-up-git.markdown @@ -196,31 +196,7 @@ To make sure you generate a brand new key, you need to check if one already exis Now that you have Git set up and your SSH keys entered into GitHub, it’s time to configure your personal info. -1. <span class="step-title">Set your username and email.</span> - - Git tracks who makes each commit by checking the user’s name and email. In addition, we use this info to associate your commits with your GitHub account. To set these, enter the code below, replacing the name and email with your own. The name should be your _actual name_, not your GitHub username. - - <pre class="terminal bootcamp"> - <span class="codeline">$ git config --global user.name "<em>Firstname Lastname</em>"<span>Sets the name of the user for all git instances on the system</span></span> - <span class="codeline">$ git config --global user.email "<em>user_name@username.com</em>"<span>Sets the email of the user for all git instances on the system</span></span> - </pre> - -2. <span class="step-title">Set your GitHub token.</span> - - Some tools connect to GitHub without SSH. To use these tools properly you need to find and configure your API Token. - - On the GitHub site _Click “Account Settings”_ > _Click “Account Admin.”_ - - <img src="/images/bootcamp/bootcamp_1_token.jpg" width="558" height="245" alt="Copy your API token" /> - - In Terminal, run the following code, using your GitHub username and token in place of the ones shown. - - <pre class="terminal bootcamp"> - <span class="codeline">$ git config --global github.user <em>username</em><span>Sets the GitHub username for all git instances on the system</span></span> - <span class="codeline">$ git config --global github.token <em>0123456789your0123456789token</em><span>Sets the GitHub token for all git instances on the system</span></span> - </pre> - - __*Note*__ If you ever change your GitHub password, a new token will be created and will need to be updated. +{% include email_setup.markdown %} ##<span>Lastly:</span> Celebrate |
