-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
416 lines (397 loc) · 15.2 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
<!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>Git Guru</title>
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
integrity="sha384-B0vP5xmATw1+K9KRQjQERJvTumQW0nPEzvF6L/Z6nronJ3oUOFUFpCjEUQouq2+l"
crossorigin="anonymous"
/>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.10.0/css/all.min.css"
integrity="sha512-PgQMlq+nqFLV4ylk1gwUOgm6CtIIXkKwaIHp/PAIWHzig/lKZSEGKEysh0TCVbHJXCLN7WetD8TFecIky75ZfQ=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
/>
<script
src="https://code.jquery.com/jquery-3.5.1.slim.min.js"
integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj"
crossorigin="anonymous"
></script>
<script
src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js"
integrity="sha384-9/reFTGAW83EW2RDu2S0VKaIzap3H66lZH81PoYlFhbGU+6BZp6G7niu735Sk7lN"
crossorigin="anonymous"
></script>
<script
src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js"
integrity="sha384-+YQ4JLhjyBLPDQt//I+STsc9iw4uQqACwlvpslubQzn4u2UU2UFM80nGisd026JF"
crossorigin="anonymous"
></script>
<link rel="stylesheet" href="git.css" />
</head>
<body>
<nav class="navbar navbar-expand-lg">
<a class="navbar-brand" href="#"
><i class="fab fa-github fa-2x mx-2"></i><i class="fab fa-git"></i>
<strong class="text-primary">Guru</strong></a
>
<button
class="navbar-toggler"
type="button"
data-toggle="collapse"
data-target="#navbarSupportedContent"
aria-controls="navbarSupportedContent"
aria-expanded="false"
aria-label="Toggle navigation"
>
<span class="navbar-toggler-icon"><i class="fas fa-bars"></i></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav mr-auto">
<li class="nav-item active">
<a class="nav-link" href="index.html"
><i class="fab fa-github-alt mx-2 mt-1"></i>Home
<span class="sr-only">(current)</span></a
>
</li>
<li class="nav-item">
<a class="nav-link" href="#footer"
><i class="fab fa-github-alt mx-2 mt-1"></i>About Us</a
>
</li>
<li class="nav-item">
<a class="nav-link" href="gallary.html"
><i class="fab fa-github-alt mx-2 mt-1"></i>Gallary</a
>
</li>
<li class="nav-item dropdown">
<a
class="nav-link dropdown-toggle"
href="#"
id="navbarDropdown"
role="button"
data-toggle="dropdown"
aria-haspopup="true"
aria-expanded="false"
>
<i class="fab fa-github-alt mx-2 mt-1"></i>Git Commands
</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
<a class="dropdown-item" href="#setup"
><i class="fab fa-github-alt mx-2 mt-1"></i>Setup</a
>
<a class="dropdown-item" href="#setupinit"
><i class="fab fa-github-alt mx-2 mt-1"></i>Setup and Init</a
>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="#stage"
><i class="fab fa-github-alt mx-2 mt-1"></i>Stage And
Snapshot</a
>
<a class="dropdown-item" href="#branch"
><i class="fab fa-github-alt mx-2 mt-1"></i>Branch And Merge</a
>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="#inspect"
><i class="fab fa-github-alt mx-2 mt-1"></i>Inspect And
Compare</a
>
<a class="dropdown-item" href="#update"
><i class="fab fa-github-alt mx-2 mt-1"></i>Share And Update</a
>
<a class="dropdown-item" href="#history"
><i class="fab fa-github-alt mx-2 mt-1"></i>Rewrite History</a
>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="#tracking"
><i class="fab fa-github-alt mx-2 mt-1"></i>Tracking Path
Changes</a
>
<a class="dropdown-item" href="#history"
><i class="fab fa-github-alt mx-2 mt-1"></i>Rewrite History</a
>
<a class="dropdown-item" href="#temp"
><i class="fab fa-github-alt mx-2 mt-1"></i>Temporary Commits</a
>
</div>
</li>
</ul>
<form class="form-inline my-2 my-lg-0">
<input
class="form-control mr-sm-2"
type="search"
placeholder="Search"
aria-label="Search"
/>
<button class="btn btn-primary my-2 my-sm-0" type="submit">
Search
</button>
</form>
</div>
</nav>
<div class="top">
<h3>⇑</h3>
</div>
<div class="container">
<div class="row mt-3">
<div class="col-md-12 mt-2 col-12 col-lg-12 col-xs-12 col-sm-12 mx-auto">
<p class="text-left">
Git is the free and open source distributed version control system
that's responsible for everything GitHub related that happens
locally on your computer. This cheat sheet features the most
important and commonly used Git commands for easy reference.
</p>
</div>
</div>
<div class="row mt-2">
<div
class="col-md-11 p-3 col-11 col-lg-11 box col-xs-11 col-sm-11 mx-auto"
>
<div class="center2">
<i class="fab fa-2x fa-github-square"></i>
</div>
<div class="card p-2 mt-2">
<img src="https://miro.medium.com/max/2000/1*Xx403T_zMP4ncZEtjIZlKQ.gif" alt="" class="card-img">
</div>
</div>
</div>
<div class="row mt-2">
<div
class="col-md-11 p-3 col-11 col-lg-11 box col-xs-11 col-sm-11 mx-auto"
>
<div class="center2">
<i class="fab fa-2x fa-github-square"></i>
</div>
<h5 class="text-left mt-3 heading">INSTALLATION & GUIS</h5>
<p class="text-left">
With platform specific installers for Git, GitHub also provides the
ease of staying up-to-date with the latest releases of the command
line tool while providing a graphical user interface for day-to-day
interaction, review, and repository synchronization.
</p>
<h6 class="text-left mt-3 heading">GitHub For Windows</h6>
<a href="https://windows.github.com"
><button class="git-button px-2 py-1 mt-3">Click Here</button></a
>
<h6 class="text-left mt-3 heading">GitHub For Mac</h6>
<a href="https://mac.github.com"
><button class="git-button px-2 py-1 mt-3">Click Here</button></a
>
<p>
For Linux and Solaris platforms, the latest release is available on
the official Git web site.
</p>
<h6 class="text-left mt-3 heading">Git For All Platforms</h6>
<a href="http://git-scm.com"
><button class="git-button px-2 py-1 mt-3">Click Here</button></a
>
</div>
</div>
<!-- setup -->
<div class="row mt-2" id="setup">
<div
class="col-md-11 p-2 col-11 col-lg-11 box col-xs-11 col-sm-11 mx-auto"
>
<div class="center2">
<i class="fas fa-code-branch fa-2x"></i>
</div>
<h5 class="text-left mt-3 heading">SETUP COMMANDS</h5>
<p class="text-left">
Configuring user information used across all local repositories
</p>
<div class="setup"></div>
</div>
</div>
<!-- /setup-->
<!-- setup int -->
<div class="row mt-2" id="setupinit">
<div
class="col-md-11 p-2 col-11 col-lg-11 box col-xs-11 col-sm-11 mx-auto"
>
<div class="center2">
<i class="fab fa-2x fa-git-alt"></i>
</div>
<h5 class="text-left mt-3 heading">SETUP & INIT COMMANDS</h5>
<p class="text-left">
Configuring user information, initializing and cloning repositories
</p>
<div class="setupinit"></div>
</div>
</div>
<!-- /setup int -->
<!-- stage snapshot -->
<div class="row mt-2" id="stage">
<div
class="col-md-11 p-2 col-11 col-lg-11 box col-xs-11 col-sm-11 mx-auto"
>
<div class="center2">
<i class="fab fa-2x fa-git-alt"></i>
</div>
<h5 class="text-left mt-3 heading">STAGE & SNAPSHOT COMMANDS</h5>
<p class="text-left">
Working with snapshots and the Git staging area
</p>
<div class="stage"></div>
</div>
</div>
<!-- /stage snapshot -->
<!-- branch -->
<div class="row mt-2" id="branch">
<div
class="col-md-11 p-2 col-11 col-lg-11 box col-xs-11 col-sm-11 mx-auto"
>
<div class="center2">
<i class="fab fa-2x fa-git"></i>
</div>
<h5 class="text-left mt-3 heading">BRANCH & MERGE COMMANDS</h5>
<p class="text-left">
Isolating work in branches, changing context, and integrating
changes
</p>
<div class="branch"></div>
</div>
</div>
<!-- /branch -->
<!-- inspect -->
<div class="row mt-2" id="inspect">
<div
class="col-md-11 p-2 col-11 col-lg-11 box col-xs-11 col-sm-11 mx-auto"
>
<div class="center2">
<i class="fab fa-github-alt fa-2x"></i>
</div>
<h5 class="text-left mt-3 heading">INSPECT & COMPARE COMMANDS</h5>
<p class="text-left">Examining logs, diffs and object information</p>
<div class="inspect"></div>
</div>
</div>
<!-- /inspect -->
<!-- update -->
<div class="row mt-2" id="update">
<div
class="col-md-11 p-2 col-11 col-lg-11 box col-xs-11 col-sm-11 mx-auto"
>
<div class="center2">
<i class="fab fa-2x fa-git-alt"></i>
</div>
<h5 class="text-left mt-3 heading">SHARE & UPDATE COMMANDS</h5>
<p class="text-left">
Retrieving updates from another repository and updating local repos
</p>
<div class="update"></div>
</div>
</div>
<!-- /update -->
<!-- tracking -->
<div class="row mt-2" id="tracking">
<div
class="col-md-11 p-2 col-11 col-lg-11 box col-xs-11 col-sm-11 mx-auto"
>
<div class="center2">
<i class="fab fa-2x fa-git-alt"></i>
</div>
<h5 class="text-left mt-3 heading">TRACKING PATH CHANGES COMMANDS</h5>
<p class="text-left">Versioning file removes and path changes</p>
<div class="tracking"></div>
</div>
</div>
<!-- /tracking -->
<!-- history -->
<div class="row mt-2" id="history">
<div
class="col-md-11 p-2 col-11 col-lg-11 box col-xs-11 col-sm-11 mx-auto"
>
<div class="center2">
<i class="fab fa-gitkraken fa-2x"></i>
</div>
<h5 class="text-left mt-3 mb-4 heading">REWRITE HISTORY COMMANDS</h5>
<p class="text-left">
Rewriting branches, updating commits and clearing history
</p>
<div class="history"></div>
</div>
</div>
<!-- /history -->
<!-- temp -->
<div class="row mt-2" id="temp">
<div
class="col-md-11 p-2 col-11 col-lg-11 box col-xs-11 col-sm-11 mx-auto"
>
<div class="center2">
<i class="fab fa-2x fa-git-alt"></i>
</div>
<h5 class="text-left mt-3 heading">TEMPORARY COMMITS COMMANDS</h5>
<p class="text-left">
Temporarily store modified, tracked files in order to change
branches
</p>
<div class="temp"></div>
</div>
</div>
<!-- /temp -->
</div>
<div class="container-fluid" style="background-color: yellow">
<footer id="footer">
<div class="row mt-3">
<div class="col-md-4 mt-4 col-12 col-xs-4 col-sm-4 col-lg-4 mx-auto">
<h5 class="text-center">
LOCATION <i class="fas fa-location-arrow mx-2"></i>
</h5>
<p class="text-center">
Some Where In India !(The Country Of Love ❤️)
</p>
</div>
<div class="col-md-4 mt-4 mb-4 col-12 col-xs-4 col-sm-4 col-lg-4 mx-auto">
<h5 class="text-center text-uppercase">Around The Web</h5>
<div class="d-flex justify-content-around">
<div
class="center2"
style="background-color: yellow; border: 2px solid white"
>
<a href="https://www.instagram.com/nikku_choubisa/"
><i class="fab fa-instagram"></i
></a>
</div>
<div
class="center2"
style="background-color: yellow; border: 2px solid white"
>
<a href="https://www.linkedin.com/in/neeraj-choubisa-a4952b202/"
><i class="fab fa-linkedin-in"></i
></a>
</div>
<div
class="center2"
style="background-color: yellow; border: 2px solid white"
>
<a
href="https://www.facebook.com/profile.php?id=100010725183223"
><i class="fab fa-facebook-square"></i
></a>
</div>
<div
class="center2"
style="background-color: yellow; border: 2px solid white"
>
<a href="https://github.com/Kali-Decoder"
><i class="fab fa-github-square"></i
></a>
</div>
</div>
</div>
<div class="col-md-4 mt-4 mb-4 col-12 col-xs-4 col-sm-4 col-lg-4 mx-auto">
<h5 class="text-center text-uppercase">About</h5>
<p class="text-center">Full Stack Web Developer (Frontend && Backend )</p>
</div>
</div>
</footer>
</div>
<script src="git.js"></script>
</body>
</html>