From 098c8c795f0d6080801f29dc6e0e8ed32f3afff8 Mon Sep 17 00:00:00 2001 From: James Musselman Date: Tue, 11 Mar 2025 17:34:26 -0500 Subject: [PATCH] feat: Add images, rename file to be auto opened --- rys-git-tutorial.md => Home.md | 1296 ++++++++++++++++---------------- images/0-1.png | Bin 0 -> 14127 bytes images/0-2.png | Bin 0 -> 18872 bytes images/0-3.png | Bin 0 -> 20496 bytes images/0-4.png | Bin 0 -> 23575 bytes images/1-1.png | Bin 0 -> 20623 bytes images/1-2.png | Bin 0 -> 16748 bytes images/1-3.png | Bin 0 -> 2813 bytes images/1-4.png | Bin 0 -> 4059 bytes images/1-5.png | Bin 0 -> 25763 bytes images/10-1.png | Bin 0 -> 18593 bytes images/10-2.png | Bin 0 -> 41855 bytes images/11-1.png | Bin 0 -> 34287 bytes images/11-2.png | Bin 0 -> 38261 bytes images/12-1.png | Bin 0 -> 23961 bytes images/12-2.png | Bin 0 -> 36454 bytes images/12-3.png | Bin 0 -> 35417 bytes images/12-4.png | Bin 0 -> 38581 bytes images/12-5.png | Bin 0 -> 15506 bytes images/12-6.png | Bin 0 -> 11742 bytes images/2-1.png | Bin 0 -> 4591 bytes images/2-2.png | Bin 0 -> 4452 bytes images/2-3.png | Bin 0 -> 4059 bytes images/2-4.png | Bin 0 -> 10381 bytes images/2-5.png | Bin 0 -> 17336 bytes images/3-1.png | Bin 0 -> 8210 bytes images/3-10.png | Bin 0 -> 18809 bytes images/3-11.png | Bin 0 -> 18948 bytes images/3-12.png | Bin 0 -> 16593 bytes images/3-2.png | Bin 0 -> 18552 bytes images/3-3.png | Bin 0 -> 10578 bytes images/3-4.png | Bin 0 -> 12100 bytes images/3-5.png | Bin 0 -> 11923 bytes images/3-6.png | Bin 0 -> 13839 bytes images/3-7.png | Bin 0 -> 17036 bytes images/3-8.png | Bin 0 -> 15379 bytes images/3-9.png | Bin 0 -> 18771 bytes images/4-1.png | Bin 0 -> 39037 bytes images/4-2.png | Bin 0 -> 20854 bytes images/4-3.png | Bin 0 -> 19713 bytes images/4-4.png | Bin 0 -> 46966 bytes images/4-5.png | Bin 0 -> 23177 bytes images/4-6.png | Bin 0 -> 17453 bytes images/5-1.png | Bin 0 -> 22825 bytes images/5-2.png | Bin 0 -> 12150 bytes images/5-3.png | Bin 0 -> 13970 bytes images/5-4.png | Bin 0 -> 20011 bytes images/5-5.png | Bin 0 -> 41635 bytes images/5-6.png | Bin 0 -> 22737 bytes images/5-7.png | Bin 0 -> 12122 bytes images/6-1.png | Bin 0 -> 21042 bytes images/6-2.png | Bin 0 -> 17759 bytes images/6-3.png | Bin 0 -> 16969 bytes images/6-4.png | Bin 0 -> 16962 bytes images/6-5.png | Bin 0 -> 15980 bytes images/6-6.png | Bin 0 -> 15752 bytes images/6-7.png | Bin 0 -> 23748 bytes images/7-1.png | Bin 0 -> 19641 bytes images/7-2.png | Bin 0 -> 19553 bytes images/7-3.png | Bin 0 -> 14828 bytes images/7-4.png | Bin 0 -> 16678 bytes images/7-5.png | Bin 0 -> 14261 bytes images/7-6.png | Bin 0 -> 13715 bytes images/7-7.png | Bin 0 -> 14244 bytes images/8-1.png | Bin 0 -> 25395 bytes images/8-2.png | Bin 0 -> 32824 bytes images/8-3.png | Bin 0 -> 45414 bytes images/8-4.png | Bin 0 -> 36321 bytes images/8-5.png | Bin 0 -> 22821 bytes images/8-6.png | Bin 0 -> 36746 bytes images/8-7.png | Bin 0 -> 51346 bytes images/9-1.png | Bin 0 -> 31483 bytes images/9-10.png | Bin 0 -> 65569 bytes images/9-11.png | Bin 0 -> 49460 bytes images/9-4.png | Bin 0 -> 43002 bytes images/9-5.png | Bin 0 -> 64124 bytes images/9-6.png | Bin 0 -> 39497 bytes images/9-7.png | Bin 0 -> 42855 bytes images/9-8.png | Bin 0 -> 15345 bytes images/9-9.png | Bin 0 -> 31483 bytes images/bitbucket-logo.png | Bin 0 -> 19828 bytes images/cover-art.png | Bin 0 -> 90550 bytes images/icons/download.png | Bin 0 -> 1156 bytes 83 files changed, 656 insertions(+), 640 deletions(-) rename rys-git-tutorial.md => Home.md (89%) create mode 100644 images/0-1.png create mode 100644 images/0-2.png create mode 100644 images/0-3.png create mode 100644 images/0-4.png create mode 100644 images/1-1.png create mode 100644 images/1-2.png create mode 100644 images/1-3.png create mode 100644 images/1-4.png create mode 100644 images/1-5.png create mode 100644 images/10-1.png create mode 100644 images/10-2.png create mode 100644 images/11-1.png create mode 100644 images/11-2.png create mode 100644 images/12-1.png create mode 100644 images/12-2.png create mode 100644 images/12-3.png create mode 100644 images/12-4.png create mode 100644 images/12-5.png create mode 100644 images/12-6.png create mode 100644 images/2-1.png create mode 100644 images/2-2.png create mode 100644 images/2-3.png create mode 100644 images/2-4.png create mode 100644 images/2-5.png create mode 100644 images/3-1.png create mode 100644 images/3-10.png create mode 100644 images/3-11.png create mode 100644 images/3-12.png create mode 100644 images/3-2.png create mode 100644 images/3-3.png create mode 100644 images/3-4.png create mode 100644 images/3-5.png create mode 100644 images/3-6.png create mode 100644 images/3-7.png create mode 100644 images/3-8.png create mode 100644 images/3-9.png create mode 100644 images/4-1.png create mode 100644 images/4-2.png create mode 100644 images/4-3.png create mode 100644 images/4-4.png create mode 100644 images/4-5.png create mode 100644 images/4-6.png create mode 100644 images/5-1.png create mode 100644 images/5-2.png create mode 100644 images/5-3.png create mode 100644 images/5-4.png create mode 100644 images/5-5.png create mode 100644 images/5-6.png create mode 100644 images/5-7.png create mode 100644 images/6-1.png create mode 100644 images/6-2.png create mode 100644 images/6-3.png create mode 100644 images/6-4.png create mode 100644 images/6-5.png create mode 100644 images/6-6.png create mode 100644 images/6-7.png create mode 100644 images/7-1.png create mode 100644 images/7-2.png create mode 100644 images/7-3.png create mode 100644 images/7-4.png create mode 100644 images/7-5.png create mode 100644 images/7-6.png create mode 100644 images/7-7.png create mode 100644 images/8-1.png create mode 100644 images/8-2.png create mode 100644 images/8-3.png create mode 100644 images/8-4.png create mode 100644 images/8-5.png create mode 100644 images/8-6.png create mode 100644 images/8-7.png create mode 100644 images/9-1.png create mode 100644 images/9-10.png create mode 100644 images/9-11.png create mode 100644 images/9-4.png create mode 100644 images/9-5.png create mode 100644 images/9-6.png create mode 100644 images/9-7.png create mode 100644 images/9-8.png create mode 100644 images/9-9.png create mode 100644 images/bitbucket-logo.png create mode 100644 images/cover-art.png create mode 100644 images/icons/download.png 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