diff --git a/rys-git-tutorial.md b/Home.md similarity index 89% rename from rys-git-tutorial.md rename to Home.md index 6c7ade1..473c202 100644 --- a/rys-git-tutorial.md +++ b/Home.md @@ -1,20 +1,23 @@ -![](media/cover-art.png) +![](images/cover-art.png) []{#navigation-document.xhtml} :::: {#navigation-document.xhtml_page} ::: {#navigation-document.xhtml_content} + ```{=html} ``` + ::: :::: @@ -22,6 +25,7 @@ :::: {#introduction.xhtml_page} ::: {#introduction.xhtml_content} + # Introduction {#introduction.xhtml_introduction} Git is a version control system (VCS) created for a single task: @@ -44,7 +48,7 @@ the entire project and give it a new name. Just think about how many times you've saved a "backup" called `my-term-paper-2.doc`. This is the simplest form of version control. -![Revision control with files and folders](media/0-1.png) +![Revision control with files and folders](images/0-1.png) But, it's easy to see how copying files from folder to folder could prove disastrous for software developers. What happens if you mis-label @@ -62,9 +66,9 @@ way, you would only have a single "checked out" copy of the project at any given time, eliminating the possibility of mixing up or losing revisions. -![Local version control](media/0-2.png) +![Local version control](images/0-2.png) -At this point, versioning only took place on the developer's *local* +At this point, versioning only took place on the developer's _local_ computer---there was no way to efficiently share code amongst several programmers. @@ -77,7 +81,7 @@ them back into the project over a network. This setup let several programmers collaborate on a project by giving them a single point of entry. -![Centralized version control](media/0-3.png) +![Centralized version control](images/0-3.png) While a big improvement on local VCS, centralized systems presented a new set of problems: how do multiple users work on the same files at the @@ -98,12 +102,12 @@ team. The next generation of revision control programs shifted away from the idea of a single centralized repository, opting instead to give every -developer their own *local* copy of the entire project. The resulting -*distributed* network of repositories let each developer work in +developer their own _local_ copy of the entire project. The resulting +_distributed_ network of repositories let each developer work in isolation, much like a local VCS---but now the conflict resolution problem of CVCS had a much more elegant solution. -![Distributed version control](media/0-4.png) +![Distributed version control](images/0-4.png) Since there was no longer a central repository, everyone could develop at their own pace, store the updates locally, and put off merging @@ -129,10 +133,10 @@ of a new open-source DVCS as a replacement. This was the birth of Git. As a source code manager for the entire Linux kernel, Git had several unique constraints, including: -- Reliability -- Efficient management of large projects -- Support for distributed development -- Support for non-linear development +- Reliability +- Efficient management of large projects +- Support for distributed development +- Support for non-linear development While other DVCSs did exist at the time (e.g., GNU's Arch or David Roundy's Darcs), none of them could satisfy this combination of @@ -155,8 +159,8 @@ real-world scenarios. But first, you'll need a working Git installation to experiment with. Downloads for all supported platforms are available via the [official Git website](http://git-scm.com). -For Windows users, this will install a special command shell called *Git -Bash*. You should be using this shell instead of the native command +For Windows users, this will install a special command shell called _Git +Bash_. You should be using this shell instead of the native command prompt to run Git commands. OS X and Linux users can access Git from a normal shell. To test your installation, open a new command prompt and run `git --version`. It should output something like @@ -164,7 +168,7 @@ run `git --version`. It should output something like ## Get Ready! {#introduction.xhtml_get-ready} -Remember that *Ry's Git Tutorial* is designed to *demonstrate* Git's +Remember that _Ry's Git Tutorial_ is designed to _demonstrate_ Git's feature set, not just give you a superficial overview of the most common commands. To get the most out of this tutorial, it's important to actually execute the commands you're reading about. So, make sure you're @@ -176,6 +180,7 @@ sitting in front of a computer, and let's get to it! :::: {#the-basics.xhtml_page} ::: {#the-basics.xhtml_content} + # The Basics {#the-basics.xhtml_the-basics} Now that you have a basic understanding of version control systems in @@ -207,7 +212,7 @@ project. Create a new folder called `my-git-repo` to store the project, then add a file called `index.html` to it. Open `index.html` in your favorite text editor and add the following HTML. -``` cp +```cp @@ -216,8 +221,8 @@ favorite text editor and add the following HTML.

A Colorful Website

-

This is a website about color!

- +

This is a website about color!

+

News