-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
114 lines (107 loc) · 5.62 KB
/
index.html
File metadata and controls
114 lines (107 loc) · 5.62 KB
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
<!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>Bash Commands</title>
<link rel="stylesheet" type="text/css" href="./style.css">
</head>
<body>
<div class = "container">
<div class = "box-1">
<h1>Popular Bash Commands</h1>
</div>
<div class = "box-2">
<h2>This webpage provides <u>popular</u> Bash Commands for Github and their definitions</h2>
</div>
<div class = "definitions">
<ol class = "command">
<li>Git init
<ul class = "details">
<li>Creates a new Git repository </li>
<li>It can be used to convert an existing, unversioned project to a Git repository or initialize a new, empty repository</li>
</ul>
</li>
<li>Git Clone
<ul class = "details">
<li>Primarily used to point to an existing repository and make a clone or a copy of that repository in a new directory</li>
</ul>
</li>
<li>Git Add
<ul class = "details">
<li>Adds new or changed files in your working directory to the Git staging area</li>
</ul>
</li>
<li>Git Diff
<ul class = "details">
<li>Diffing is a function that takes two input data sets and outputs the changes between them</li>
<li>A <em>multi-use</em> Git command that when executed runs a diff function on Git data sources</li>
</ul>
</li>
<li>Git Commit
<ul class = "details">
<li> A snapshot of your repository at a specific point in time</li>
</ul>
</li>
<li>Git Reset
<ul class = "details">
<li> A <strong> powerful</strong> command that is used to undo local changes to the state of a git repository</li>
</ul>
</li>
<li>Git Fetch
<ul class = "details">
<li>A primary command used to download contents from a remote repository</li>
</ul>
</li>
<li>Git Status
<ul class = "details">
<li>Displays the state of the working directory and the staging area</li>
<li>It lets you see which changes have been staged, which haven't and which files aren't being tracked by Git</li>
</ul>
</li>
<li>Git Branch
<ul class = "details">
<li>A lightweight moveable pointed to one of these commits</li>
<li>The default branch name in Git, is master, As you start making commits, you're given a master branch that points to the last commit you made.</li>
</ul>
</li>
<li>Git Merge
<ul class = "details">
<li>It's Gits way of putting a forked history back together again</li>
<li>The git merge command lets you take the independent lines of development created by git branch and intergrate them into a single branch</li>
</ul>
</li>
<li>Git Log
<ul class = "details">
<li>Shows a list of all the commits made to a repository</li>
<li>You can see the hash of each Git commit, the message associated with each commit. and more metadata.</li>
</ul>
</li>
<li>Git Show
<ul class = "details">
<li>A command line utility that is used to view expanded details on Git objects, such as <strong>blobs, trees, tags and commits</strong></li>
</ul>
</li>
<li>Git Remote
<ul class = "details">
<li>A common repository that all team members use to exchange their changes</li>
</ul>
</li>
<li>Git Push
<ul class = "details">
<li>Used to upload local repository content to a remote repository</li>
<li> Pushing is how you transfer commits from your local repository to a remote repository</li>
<li>The counterpart to git fetch</li>
</ul>
</li>
<li>Git Pull
<ul class = "details">
<li> Used to fetch and download content from a remote repository and immediately updates the local repository to match that content</li>
</ul>
</li>
</ol>
</div>
</div>
</body>
</html>