From 9c9a328926a7542d474a3d83d50f5bf99ecca22d Mon Sep 17 00:00:00 2001 From: jonahsmith Date: Fri, 21 Feb 2014 10:39:34 -0500 Subject: [PATCH] more formatting --- 3-gitBasics.md | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/3-gitBasics.md b/3-gitBasics.md index 245b551..4891c8f 100644 --- a/3-gitBasics.md +++ b/3-gitBasics.md @@ -2,27 +2,28 @@ #GIT BASICS Git: a model of versioning syncronization -GitHub: a centralized server running Git - Also has a wiki feature - Also has a bug tracker - +GitHub: a centralized server running Git. Also has a wiki feature and a bug tracker ##The General Workflow -git init initiate a repository -git add adds to staging area -git commit commit to ledger of changes - -git push synchronize to the cloud - -git clone -git pull gets the timeline from the cloud +Command | Description +----------------|------------- +git init | initiate a repository +git add | adds to staging area +git commit | commit to ledger of changes + | +git push | synchronize to the cloud + | +git clone | clones repository into new directory +git pull | gets the timeline from the cloud ##Some Terminology "He advanced the head" changed the file, staged it, committed it, and pushed it to common ledger ##Initializing and connecting to GitHub +``` git init git add README.md git commit -m "first commit" git remote add origin https://github.com/[] git push -u origin master +```