summaryrefslogtreecommitdiff
path: root/_posts/2009-06-13-win-set-up-git.markdown
diff options
context:
space:
mode:
Diffstat (limited to '_posts/2009-06-13-win-set-up-git.markdown')
-rw-r--r--_posts/2009-06-13-win-set-up-git.markdown26
1 files changed, 1 insertions, 25 deletions
diff --git a/_posts/2009-06-13-win-set-up-git.markdown b/_posts/2009-06-13-win-set-up-git.markdown
index 426b898..ac694c5 100644
--- a/_posts/2009-06-13-win-set-up-git.markdown
+++ b/_posts/2009-06-13-win-set-up-git.markdown
@@ -172,31 +172,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&rsquo;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 &ldquo;Account Settings&rdquo;_ &gt; _Click &ldquo;Account Admin.&rdquo;_
-
- <img src="/images/bootcamp/bootcamp_1_token.jpg" width="558" height="245" alt="Copy your API token" />
-
- In Git Bash, 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>
-
- __&#42;Note&#42;__ 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