From 4da5a073171d158641389b32caa11d876939af97 Mon Sep 17 00:00:00 2001 From: Stefan Date: Mon, 29 Sep 2014 14:45:48 -0400 Subject: [PATCH 1/2] Spelling fixes! --- gitworkshop.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/gitworkshop.md b/gitworkshop.md index 81df48c..b4cf9c9 100644 --- a/gitworkshop.md +++ b/gitworkshop.md @@ -532,11 +532,11 @@ Often with incremental updates, only differences are transferred, which makes gi ### The working copy -All the files that you work with and edit are called the _working copy_, but are not the actual git repository. They can all deleted and you can still work with the repository. These files and their changes only become part of the repositiry after being added to the _index_ and them commited. +All the files that you work with and edit are called the _working copy_, but are not the actual git repository. They can all deleted and you can still work with the repository. These files and their changes only become part of the repository after being added to the _index_ and them commited. ### The Index -Git is not really just like Subversion (or most other version control solutions). It uses an additional stage to allow you to do distrbuted version control: the _Index_. +Git is not really just like Subversion (or most other version control solutions). It uses an additional stage to allow you to do distributed version control: the _Index_. - The *index* is a staging area between your working copy and your local repository. @@ -666,7 +666,7 @@ When you create a local branch and you want to push that branch to a remote repo git push origin -u workshop ``` -This should create a new branch remotyely and push this branch to it. An entry in your local git config will be created to remember this mapping. +This should create a new branch remotely and push this branch to it. An entry in your local git config will be created to remember this mapping. ### Deleting branches @@ -689,7 +689,7 @@ git push origin :workshop ``` ---- -> **Exercise:** Using a repository from a previous exercise, tag your current version as a new tag. Next create a local branch and checkout that branch. Make changes on that branch, and commit them locally. Next push those changes to the remote. Confirm that works, then checkout your local master, mefrge the changes from the local branch, and push the master. Once that's done, delete both the local and remote branches. +> **Exercise:** Using a repository from a previous exercise, tag your current version as a new tag. Next create a local branch and checkout that branch. Make changes on that branch, and commit them locally. Next push those changes to the remote. Confirm that works, then checkout your local master, merge the changes from the local branch, and push the master. Once that's done, delete both the local and remote branches. > ---- @@ -700,7 +700,7 @@ git push origin :workshop > >Git + GitHub makes code review very easy. Instead of pushing changes to master, create a new branch, then push that branch to a remote remote branch of the same name. > -Then in GitHub, create a "Pull Request." Ask a collaborator to review that Pull Request. If you are disclined ad follow this simpe process for every changeset, you get code review for free. +Then in GitHub, create a "Pull Request." Ask a collaborator to review that Pull Request. If you are disclined ad follow this simple process for every changeset, you get code review for free. > >To start, create a local repository and populate it with some content: > @@ -815,7 +815,7 @@ changes caused by a previous commit. ## Conflicts -A conflict occurrs when two people make overlapping changes. +A conflict occurs when two people make overlapping changes. - Detected when you attempt to update your working copy via ``git pull``. - You may discard your changes, discard the repository changes, or attempt to correct things manually. From 2c8e37f9a0cba274dc14501e489fd8c8a5ca3b9d Mon Sep 17 00:00:00 2001 From: Stefan Wuensch Date: Tue, 1 Nov 2016 11:24:28 -0400 Subject: [PATCH 2/2] Added Table of Contents tag. --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 17cdc3f..00f0e16 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ +[TOC] + ## git-workshop Workshop on Git originally developed by Lars Kellogg-Stedman for Harvard SEAS, and expanded by Rob Parrott.