diff --git a/css/style.css b/css/style.css index 1e520cf..2615743 100644 --- a/css/style.css +++ b/css/style.css @@ -16,6 +16,13 @@ header { padding: 15px; } +embed[src*="youtube.com"]{ + display: block; + margin: 0 auto 0 auto; + width: 100%; + max-width: 790px; +} + .logo { float: left; margin: 0; diff --git a/p/branching.md b/p/branching.md index 19a9631..7e8c7e6 100644 --- a/p/branching.md +++ b/p/branching.md @@ -4,6 +4,8 @@ title: Branching and Merging description: Create and work on topic and long running branches, merge between them and delete them. --- + + As we touched on in the first lesson, the way that Git handles branching and merging is pretty unique. First of all, it's incredibly fast, both to create new branches and to switch between them. Git has a single working directory diff --git a/p/index.md b/p/index.md index 40f0b09..6ee5189 100644 --- a/p/index.md +++ b/p/index.md @@ -4,7 +4,7 @@ title: Introduction To Git description: What Git is, why you would want to use it and where to get it and learn about it. --- -
+ Welcome to the first lesson of the GitHub Learning course. This course will lead you through a series of lessons that will demonstrate how to use diff --git a/p/log.md b/p/log.md index a56f36f..0e59c76 100644 --- a/p/log.md +++ b/p/log.md @@ -4,6 +4,8 @@ title: Git History description: Browse your project history, find specific commits, and visualize the branching and merging actions. --- + + One of the most commonly used commands is the 'git log' command. This command shows you the commit history of your project, so you can see what has happened up to this point. With no options, it will start from the last commit on diff --git a/p/normal.md b/p/normal.md index b1e0c71..989a001 100644 --- a/p/normal.md +++ b/p/normal.md @@ -4,6 +4,8 @@ title: Normal Workflow description: Make and view changes made, then stage and commit them. --- + + So you have a Git repository and everything is all setup. What now? Generally, it is not going to be much different than working with any other diff --git a/p/rebasing.md b/p/rebasing.md index 6f8a541..8f7ebb2 100644 --- a/p/rebasing.md +++ b/p/rebasing.md @@ -4,6 +4,8 @@ title: Rebasing description: Replay changes from one branch onto another branch to preserve a linear history. --- + + In Git, there are two main ways to integrate changes from one branch into another - the 'merge' and the 'rebase'. In this section we will learn what 'rebasing' is, how to do it and in what cases it may not be a good idea to. diff --git a/p/remotes.md b/p/remotes.md index f94b5c3..be98266 100644 --- a/p/remotes.md +++ b/p/remotes.md @@ -3,6 +3,9 @@ layout: default title: Distributed Git description: Fetch, merge, pull, and push between multiple remote repositories. --- + + + So you've heard that Git is a **distributed** version control system. What does that really mean and how do you take advantage of it? diff --git a/p/setup.md b/p/setup.md index ad8a244..ec17455 100644 --- a/p/setup.md +++ b/p/setup.md @@ -4,6 +4,8 @@ title: Setup and Initialization description: Setup your Git environment, then create a new Git repository and clone an existing one. --- + + ### setting up git When you first start using Git, there are a few things you will likely want