Основа для шпаргалки
This commit is contained in:
103
index.html
Normal file
103
index.html
Normal file
@@ -0,0 +1,103 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta name="description" content="OOP exam questions">
|
||||||
|
<title>
|
||||||
|
Шпаргалка по Git
|
||||||
|
</title>
|
||||||
|
<link rel="stylesheet" type="text/css" href="style.css">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div class="header exam">
|
||||||
|
<h2>
|
||||||
|
Шпаргалка по Git
|
||||||
|
</h2>
|
||||||
|
</div>
|
||||||
|
<div class="exam" id="table">
|
||||||
|
<table>
|
||||||
|
<caption>Команды Git</caption>
|
||||||
|
<tr>
|
||||||
|
<th>Команда</th>
|
||||||
|
<th>Описание</th>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>git init</td>
|
||||||
|
<td>-</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>git init</td>
|
||||||
|
<td>-</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>git clone url</td>
|
||||||
|
<td>-</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>git add file</td>
|
||||||
|
<td>-</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>git add .</td>
|
||||||
|
<td>-</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>git commit -m "comment"</td>
|
||||||
|
<td>-</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>git commit -a -m "comment"</td>
|
||||||
|
<td>-</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>git push url</td>
|
||||||
|
<td>-</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>git status</td>
|
||||||
|
<td>-</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>git log</td>
|
||||||
|
<td>-</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>git branch branch_name</td>
|
||||||
|
<td>-</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>git checkout branch_name</td>
|
||||||
|
<td>-</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>git checkout -b branch_name</td>
|
||||||
|
<td>-</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>git remote</td>
|
||||||
|
<td>-</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div >
|
||||||
|
<div class="exam">
|
||||||
|
<h4>Тесты на знание команд Git</h4>
|
||||||
|
<ol >
|
||||||
|
<li><a href="https://progtask.ru/test-po-git/">Тест по Git</a></li>
|
||||||
|
<li><a href="https://www.learnqa.ru/gittest">Тест на знание Git</a></li>
|
||||||
|
<li><a href="https://itproger.com/test/git">Тест на знание основ Git</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<footer>
|
||||||
|
<div class="exam">
|
||||||
|
<lh>Полезные ссылки</lh>
|
||||||
|
<ul>
|
||||||
|
<li><a class="foo" href="https://labs-org.ru/html/">html</a></li>
|
||||||
|
<li><a class="foo" href="https://labs-org.ru/css/">css</a></li>
|
||||||
|
<li><a class="foo" href="https://medium.com/@vvladislavv/%D1%88%D0%BF%D0%B0%D1%80%D0%B3%D0%B0%D0%BB%D0%BA%D0%B0-%D0%BF%D0%BE-%D0%BE%D1%81%D0%BD%D0%BE%D0%B2%D0%B0%D0%BC-git-github-dcd6b91406a8">Шпаргалка по основам Git</a></li>
|
||||||
|
<li><a class="foo" href="https://training.github.com/downloads/ru/github-git-cheat-sheet/">Команды Git</a></li>
|
||||||
|
<li><a class="foo" href="https://proglib.io/p/git-cheatsheet">Шпаргалка по Git, в которой представлены основные команды</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</footer>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
28
style.css
Normal file
28
style.css
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
.header {
|
||||||
|
justify-content: center;
|
||||||
|
text-align:center;
|
||||||
|
}
|
||||||
|
ol li {
|
||||||
|
list-style-position: inside;
|
||||||
|
}
|
||||||
|
.exam {
|
||||||
|
font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
|
||||||
|
}
|
||||||
|
#table {
|
||||||
|
line-height:200%
|
||||||
|
}
|
||||||
|
footer {
|
||||||
|
padding-top: 3px;
|
||||||
|
padding-bottom: 3px;
|
||||||
|
padding-left: 30px;
|
||||||
|
background: #444;
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
a.foo:hover {
|
||||||
|
text-decoration-color: black;
|
||||||
|
color: black;
|
||||||
|
}
|
||||||
|
a.foo {
|
||||||
|
text-decoration-color: white;
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user