From 195bb6e477231b96c18b2062f1ef59d64a6f81cd Mon Sep 17 00:00:00 2001 From: tekkub Date: Sun, 6 Mar 2011 03:32:18 -0700 Subject: Use a common include for the email settings --- _posts/2009-06-13-win-set-up-git.markdown | 26 +------------------------- 1 file changed, 1 insertion(+), 25 deletions(-) (limited to '_posts/2009-06-13-win-set-up-git.markdown') 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. Set your username and email. - - 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. - -
-	$ git config --global user.name "Firstname Lastname"Sets the name of the user for all git instances on the system
-	$ git config --global user.email "user_name@username.com"Sets the email of the user for all git instances on the system
-	
- -2. Set your GitHub token. - - 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.”_ - - Copy your API token - - In Git Bash, run the following code, using your GitHub username and token in place of the ones shown. - -
-	$ git config --global github.user usernameSets the GitHub username for all git instances on the system
-	$ git config --global github.token 0123456789your0123456789tokenSets the GitHub token for all git instances on the system
-	
- - __*Note*__ If you ever change your GitHub password, a new token will be created and will need to be updated. +{% include email_setup.markdown %} ##Lastly: Celebrate -- cgit v1.3.1