-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlab_09.html
79 lines (74 loc) · 2.71 KB
/
lab_09.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
<!DOCTYPE html>
<html lang="en">
<head>
<title>
Lab 9 - Checking Status
</title>
<meta charset="UTF-8" />
<meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible" />
<meta "="" content=" width=device-width, initial-scale=1.0" name="viewport" />
<meta content="A guided tour through the fundamentals of Git, HTML, & CSS" name=" description" />
<meta content="#0000ff" name="theme-color" />
<link href="manifest.json" rel="manifest" />
<link href="css/reset.css" media="screen" rel="stylesheet" />
<link href="css/screen.css" media="screen" rel="stylesheet" />
<link href="css/prism.css" rel="stylesheet" />
</head>
<body data-lab-id="9">
<a class="skip-to-content" href="#content" tabindex="1">
Skip to content
</a>
<main class="layout">
<nav id="index">
<p class="link-home">
<a href="index.html">
<span>Hack4Impact Starter Pack</span>
</a>
</p>
<button class="link-menu">
Menu
</button>
<nav tabindex="0">
<ol>
</ol>
</nav>
</nav>
<div id="content" tabindex="-1">
<h1 class="lab_title">
<em>Lab 9</em>
Checking Status
</h1>
<h2>Goals</h2>
<ul>
<li>Learn how to check the status of a <code>Git</code> repository</li>
</ul>
<h2>Check the Status of the Repository</h2>
<p>Use the <code class="language-git">git status</code> command to check and monitor the status of the repository in the current working
directory.</p>
<h3><b>Execute</b></h3>
<pre class="command-line" data-prompt="$"><code class="language-git">git status</code></pre>
<h3><b>Output</b></h3>
<pre class="command-line" data-prompt="$" data-filter-output="(out)"><code class="language-git">git status
(out)On branch main
(out)
(out)No commits yet
(out)
(out)Untracked files:
(out) (use "git add <file>..." to include in what will be committed)
(out) README.md
(out)
(out)nothing added to commit but untracked files present (use "git add" to track)</code></pre>
<p>This message tells us that we have files in our working directory that have not been tracked.
Specifically <code>index.html</code>. This means that the <code>Git</code> repository does not
have any saved version of this file. An untracked file likely means a new file that has never
been saved to the repository.</p>
</div>
</main>
<script src="js/ui.js" type="text/javascript"></script>
<script src="js/prism.js" type="text/javascript"></script>
<script type="module">
import mermaid from 'https://cdn.jsdelivr.net/npm/mermaid@10/dist/mermaid.esm.min.mjs';
mermaid.initialize({startOnLoad: true, theme: "base"});
</script>
</body>
</html>