-
Notifications
You must be signed in to change notification settings - Fork 54
/
index.html
162 lines (151 loc) · 7.79 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
<!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" />
<meta name="description"
content="Git makes collaboration easy. Everyone on the team can keep a full backup of the repositories they're working on on their local machine. Then, thanks to an external server like BitBucket, GitHub or GitLab, they can safely store the repository in a single place.">
<meta property="og:url" content="https://eshantrivedi21.github.io/Git-CheatSheet/">
<meta property="og:type" content="website">
<meta property="og:title" content="Git-CheatSheet">
<meta property="og:description"
content="Git makes collaboration easy. Everyone on the team can keep a full backup of the repositories they're working on on their local machine. Then, thanks to an external server like BitBucket, GitHub or GitLab, they can safely store the repository in a single place.">
<meta property="og:image" content="https://eshantrivedi21.github.io/Git-CheatSheet/ASSETS/favicon.png">
<meta name="twitter:card" content="summary_large_image">
<meta property="twitter:domain" content="eshantrivedi21.github.io">
<meta property="twitter:url" content="https://eshantrivedi21.github.io/Git-CheatSheet/">
<meta name="twitter:title" content="Git-CheatSheet">
<meta name="twitter:description"
content="Git makes collaboration easy. Everyone on the team can keep a full backup of the repositories they're working on on their local machine. Then, thanks to an external server like BitBucket, GitHub or GitLab, they can safely store the repository in a single place.">
<meta name="twitter:image" content="https://eshantrivedi21.github.io/Git-CheatSheet/ASSETS/favicon.png">
<link rel="shortcut icon" href="./ASSETS/favicon.png" type="image/x-icon" />
<title>Git-CheatSheet</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" />
<script src="https://kit.fontawesome.com/d4705f63a2.js" crossorigin="anonymous"></script>
<script src="./ASSETS/command.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.0.0/dist/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<link rel="stylesheet" href="./ASSETS/styles.css" />
</head>
<body>
<div class="navbar">
<div class="sidebar_pre">
<nav id="sidebar">
<div id="searchElement">
<input id="searchbar" type="text" name="search" placeholder="Search Commands.." />
</div>
<ul class="navbar-items">
<li><a href="#">Back to Top</a></li>
<li><a href="#searchbar3">Find yourself on Github</a></li>
<li><a href="#terminal-basics">terminal basics</a></li>
<li>
<a href="#setting-git-user-name-and-email">git user name and email</a>
</li>
<li><a href="#getting-git-help">getting git help</a></li>
<li>
<a href="#creating-a-git-repository">creating a git repository</a>
</li>
<li>
<a href="#staging-and-commiting">staging and commiting files</a>
</li>
<li><a href="#git-branching">git branching</a></li>
<li><a href="#git-ignore">git ignore</a></li>
<li><a href="#merging-branches">merging branches</a></li>
<li><a href="#merge-conflicts">merge conflicts</a></li>
<li><a href="#stashing-in-git">stashing in git</a></li>
<li>
<a href="#time-travelling-with-git">time travelling with git</a>
</li>
<li>
<a href="#creating-github-repositories">creating github respositories</a>
</li>
<li>
<a href="#the-origin/master-theory">the origin/master theory</a>
</li>
<li>
<a href="#git-fetching-and-pulling">git fetching and pulling</a>
</li>
<li><a href="#force-push-and-pull">force push and pull</a></li>
<li><a href="#github-collaboration">collaboration on git</a></li>
<li><a href="#git-rebasing">git rebasing</a></li>
<li><a href="#git-tags">git tags</a></li>
<li><a href="#github-desktop">github desktop</a></li>
<li><a href="#github-extensions">extensions for Github</a></li>
<li><a href="#footer">download and share</a></li>
</ul>
</nav>
</div>
</div>
<section class="cheatsheet">
<h1 id="welcome-to-the-git-cheat-sheet">THE GIT-GITHUB CHEATSHEET</h1>
<pre>
<code>
TOPIC: THE GIT-GITHUB CHEATSHEET<br>
DESCRIPTION: Your very own Git and Github Cheatsheet! <br>
REFERENCE: Git-Github Bootcamp (Colt Steele) - Udemy <br>
AUTHORs: <a href="https://github.com/EshanTrivedi21" target="_blank">EshanTrivedi21</a>, <a href="https://github.com/KCmean" target="_blank">KCmean</a>, <a href="https://github.com/VinayKanase" target="_blank">VinayKanase</a> and <a href="https://github.com/Aryan-Parmar" target="_blank">Aryan-Parmar</a> <br>
REPOSITORY: <a href="https://github.com/EshanTrivedi21/Git-CheatSheet" target="_blank">https://github.com/EshanTrivedi21/Git-CheatSheet</a>
<span class="contributors">CONTRIBUTORS: <img alt="contributors" class="img" href="https://github.com/eshantrivedi21/git-cheatsheet/graphs/contributors" src="https://contrib.rocks/image?repo=eshantrivedi21/git-cheatsheet&columns=20" /></span>
</code>
</pre>
<div>
<input id="searchbar2" class="header" type="text" name="search" placeholder="Search Commands.." />
</div>
<div id="list_search">
<div class="searchItem"></div>
</div>
<br />
<h2>YOU DID IT, SIT BACK AND BE PROUD OF YOURSELF!</h2>
<br /><br />
</section>
<section id='github'>
<h2>Already on Github?</h2>
<div style="display: flex; align-items: center; justify-content: center;">
<input id="searchbar3" type="text" name="search" placeholder="Enter your Github Username.. "/>
<div class="find-btn">
<a type="submit" id="submit">Search</a>
</div>
</div>
<div id="content">
<span id="img"></span>
<div class="contentuser">
<span id="uname"></span>
<span id="bio"></span>
<span id="followers"></span>
<span id="following"></span>
<span id="joined"></span>
<span id="repos"></span>
</div>
</div>
</section>
<section id="footer">
<div class="download-btn">
<a href="./PDF/Cheatsheet_PDF.pdf" download><button>Download</button></a>
</div>
<div class="share_container">
<a href="https://twitter.com/share?url=https://eshantrivedi21.github.io/Git-CheatSheet/&text=Git-CheatSheet"
class="share-btn twitter">
<i class="fa-brands fa-twitter"></i>
</a>
<a href="https://www.facebook.com/sharer/sharer.php?u=https://eshantrivedi21.github.io/Git-CheatSheet/"
class="share-btn facebook">
<i class="fa-brands fa-square-facebook"></i>
</a>
<a href="https://reddit.com/submit?url=https://eshantrivedi21.github.io/Git-CheatSheet/&title=Git-CheatSheet"
class="share-btn reddit">
<i class="fa-brands fa-reddit"></i>
</a>
<a href="https://www.linkedin.com/shareArticle?url=https://eshantrivedi21.github.io/Git-CheatSheet&title=Git-CheatSheet&summary=Git-CheatSheet"
class="share-btn linkedin">
<i class="fa-brands fa-linkedin"></i>
</a>
<a href="mailto:?subject=Sharing-git-cheatsheet&body=GIT-CHEATSHEET" class="share-btn email">
<i class="fa-regular fa-envelope"></i>
</a>
</div>
</section>
</div><a href="#" class="vanillatop"></a>
</body>
<script src="./ASSETS/external.js"></script>
<script src="./ASSETS/api.js"></script>
</html>