Skip to content

Commit

Permalink
more formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
jonahsmith committed Feb 21, 2014
1 parent 111bf51 commit 9c9a328
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions 3-gitBasics.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

0 comments on commit 9c9a328

Please sign in to comment.