-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
90 lines (71 loc) · 4.18 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
<!DOCTYPE html>
<html lang="en">
<!--
Website: Intro to Git
Page: index.php
Author: Kevin Robell
Purpose: This page gives a quick intro to git conceptually. It answers basic questions and lists basic concepts.
-->
<head>
<meta charset="utf-8" />
<title> Intro to Git </title>
<link href="css/sta.css" rel="stylesheet" type="text/css" />
<link href="css/styles.css" rel="stylesheet" type="text/css" />
</head>
<body class="body">
<header class="header">
<h1 class="title-txt"> What is </h1>
<img id="logo" src="img/Git-Logo-Black.png" alt="git logo" />
<h1 class="title-txt"> ? </h1>
</header>
<nav class="nav">
<a id="current-page" href="index.html">Home</a>
<a href="starting.html">Starting Out</a>
<a href="branching.html">Branching</a>
<a href="remote-server.html">Remote Server</a>
</nav>
<div class="box w4">
<h2>Introduction</h2><hr>
<h3>What is git?</h3>
Git is a type of version control software that makes it easy for multiple people to collaborate on a codebase.
<h3>How does git work?</h3>
Git works by saving multiple copies of the changed files. This allows software developers to make changes and then reverse those changes if the new code has bugs. Git also tracks when files are changed which simplifies the process of combining multiple versions of code.
<h3>What is the history of git?</h3>
Git was originally developed by the Linux development community in 2005 to help streamline the Linux kernel development process.
<br><br>
<b>Note:</b> This tutorial was created using <code>git version 2.24.3</code>.
</div>
<div class="box w3">
<h2>Basic Concepts</h2><hr>
<ul>
<li><b>Cloning:</b> This is copying the entire codebase locally to your computer.</li>
<li><b>Origin:</b> The main software release.</li>
<li><b>Branch:</b> A copy of a the code that allows you to work on a feature without messing with the main code release.</li>
<li><b>Switch Branch:</b> Look at a different snapshot of the repository.</li>
<li><b>Merge:</b> Allows you to merge changes from another branch or the origin into the branch you are working on.</li>
<li><b>Commit:</b> A snapshot of the current state of your branch.</li>
<li><b>Adding:</b> Which files need to be in this commit.</li>
<li><b>Pull:</b> Download possible changes in your branch from server/website.</li>
<li><b>Push:</b> Send local changes on a branch to the server/website.</li>
<li><b>Repo:</b> Short for repository.</li>
</ul>
</div>
<div class="box w4">
<h2>Three Steps</h2><hr>
There are three steps for this tutorial that focus on starting out, branching, and working with a remote server.
<ol>
<li>The <a href="starting.html">starting out</a> section teaches you how to locally start a project and save your progress.</li>
<li>The <a href="branching.html">branching</a> section teaches you how to create multiple versions of your project and then combine those versions together.</li>
<li>The <a href="remote-server.html">remote server</a> section teaches you how to pull and push code changes to and from a remote server.</li>
</ol>
Open up your console window and let's get started.
</div>
<img src="img/index_page-console.png" alt="Console window with the text git..." /><br>
<a class="btn lines" href="starting.html">Start the tutorial →</a>
<footer class="footer">
CST336 Internet Programming. 2020© Robell<br>
<a href="https://git-scm.com/downloads/logos" target="_blank">Git Logo</a> by <a href="https://twitter.com/jasonlong" target="_blank">Jason Long</a>.
Built using <a href="https://apainintheneck.github.io/sta.css/" target="_blank">sta.css</a>.
</footer>
</body>
</html>