From 9daf8363660584647d2c38f5b1ce7c664db1d5cb Mon Sep 17 00:00:00 2001 From: Cameron McEfee Date: Mon, 28 Feb 2011 14:26:03 -0800 Subject: added more definitions/explanations --- _posts/2011-02-15-linux-set-up-git.markdown | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to '_posts/2011-02-15-linux-set-up-git.markdown') diff --git a/_posts/2011-02-15-linux-set-up-git.markdown b/_posts/2011-02-15-linux-set-up-git.markdown index c4d34b2..3177929 100644 --- a/_posts/2011-02-15-linux-set-up-git.markdown +++ b/_posts/2011-02-15-linux-set-up-git.markdown @@ -4,7 +4,7 @@ title: Set Up Git (Linux) description: A quick guide to help you get started with Git --- -If you’ve found yourself on this page, we’re assuming you’re brand new to Git and GitHub. This guide will walk you through setting both up, and explain a little about how everything works along the way. If you already have Git experience and just want the short version, read the technical walkthrough instead. +If you’ve found yourself on this page, we’re assuming you’re brand new to Git and GitHub. This guide will walk you through the basics and explain a little bit about how everything works along the way. ##First: Download and Install Git @@ -24,7 +24,7 @@ _*If you don’t already know what Git is, - If you don’t have a package manager like Synaptic, or you’d rather install the necessary git components from the command line, run the script below: + If you don’t have a package manager like Synaptic, or you’d rather install the necessary git components from the command line, you can alternatively run the script below:
 		$ sudo apt-get install git-core git-gui git-docInstalls git-core, git-gui, and git-doc on your system
@@ -43,14 +43,14 @@ To make sure you generate a brand new key, you need to check if one already exis
 

Need a quick lesson about Terminal?

-

Code blocks like those on this page are part of a scripting language called Bash. To use Bash scripts, we need to use an application that comes with your Mac called Terminal.

+

Code blocks like those on this page are part of a scripting language called Bash. To use Bash scripts, we need to use an application that comes with Linux called Terminal.

Input

 			$ echo 'This is input text'This tooltip tells you what's going on.
 		
-

A line that begins with the dollar sign ($) indicates a line of Bash script you need to type. To enter it, type the text that follows the $, hitting the return key at the end of each line. You can hover your mouse over each line for an explanation of what the script is doing

+

A line that begins with the dollar sign ($) indicates a line of Bash script you need to type. To enter it, type the text that follows the $, hitting the return key at the end of each line. You can hover your mouse over each line for an explanation of what the script is doing.

Output

@@ -61,10 +61,10 @@ To make sure you generate a brand new key, you need to check if one already exis
 		
 		

User Specific Input

-			$ echo 'username'Outputs the text in the quote marks.
+			$ echo 'username'Outputs the text in the quotation marks.
 		
-

Areas of yellow text represent your own personal info, repos, etc. If it is part of an input ($) line, you should replace your it with your own info when you type it. If it is part of output text, it is just for your reference. It will automatically show your own info in Terminal

+

Areas of yellow text represent your own personal info, repos, etc. If it is part of an input ($) line, you should replace your it with your own info when you type it. If it is part of output text, it is just for your reference. It will automatically show your own info in Terminal.

Good to know: There will be times when you type code, hit return, and all you are given is another prompt. Some actions that you execute in Terminal don’t have any output. Don’t worry, if there is ever a problem with your code, Terminal will let you know.

@@ -84,12 +84,12 @@ To make sure you generate a brand new key, you need to check if one already exis 2. Backup and remove existing SSH keys. - Since there is already an SSH directory you’ll want to back it up and remove it: + Since there is already an SSH directory you’ll want to back the old one up and remove it:
 	$ lsLists all the subdirectories in the current directory
 	config  id_rsa  id_rsa.pub  known_hosts
-	$ mkdir key_backupMakes a directory called "key_backup" in the current directory
+	$ mkdir key_backupmakes a subdirectory called "key_backup" in the current directory
 	$ cp id_rsa* key_backupCopies the contents of the id_rsa directory into key_backup directory
 	$ rm id_rsa*Deletes the contents of the id_rsa directory
 	
@@ -189,11 +189,11 @@ To make sure you generate a brand new key, you need to check if one already exis
- Don’t worry, about the “failed” part. All you should about is that you see “You’ve successfully authenticated” + Don’t worry, about the “failed” part. All you should care about is that you see “You’ve successfully authenticated” ##Then: Set Up Your Info -Now that you have Git set up and your SSH keys entered in GitHub, it’s time to configure your personal info. +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. -- cgit v1.3.1