-
Notifications
You must be signed in to change notification settings - Fork 20
/
index.html
80 lines (69 loc) · 2.96 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<header class="main-header">
<nav>
<h1 class="heading">Basic Git Commands And Web Development</h1>
</nav>
</header>
<div class="container">
<aside>
<div class="toggle" onclick="toggleMenu();"></div>
<nav class="navigation">
<ul class="nav-list">
<li class="list-item active"><a href="#"><i class="fab fa-codepen"></i>Git</a></li>
<li class="list-item">
<a href="#"><i class="fab fa-linux"></i>Linux</a>
</li>
<li class="list-item">
<a href="#"><i class="fab fa-html5"></i>HTML</a>
</li>
<li class="list-item">
<a href="#"><i class="fab fa-css3-alt"></i>CSS3</a>
</li>
<li class="list-item">
<a href="#"><i class="fab fa-js-square"></i>Javascript</a>
</li>
<li class="list-item">
<a href="#"><i class="fab fa-js-square"></i>React JS</a>
</li>
</ul>
</nav>
</aside>
<main class="faq">
<div class="faq__holder">
<h1 class="faq__heading">FAQ</h1>
<details class="faq__detail">
<summary class="faq__summary"><span class="faq__question">How to change your Git username?</span></summary>
<p class="faq__text">git config --global user.name "your username"</p>
</details>
<details class="faq__detail">
<summary class="faq__summary"><span class="faq__question">How to change your Git email address?</span></summary>
<p class="faq__text">git config --global user.email [your email address here].</p>
</details>
<details class="faq__detail">
<summary class="faq__summary"><span class="faq__question">How to show your Git username?</span></summary>
<p class="faq__text">git config --list .</p>
</details>
<details class="faq__detail">
<summary class="faq__summary"><span class="faq__question">How to create and checkout a new branch?</span></summary>
<p class="faq__text">git checkout -b [branch name]
</p>
</details>
<details class="faq__detail">
<summary class="faq__summary"><span class="faq__question">How to list all the branches of repo?</span></summary>
<p class="faq__text">git branch
</p>
</details>
</div>
</main>
</div>
</body>
</html>