-
Notifications
You must be signed in to change notification settings - Fork 0
/
IntrotoGITHUB.html
96 lines (92 loc) · 4.43 KB
/
IntrotoGITHUB.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
<!DOCTYPE html>
<html>
<head>
<title>Version Control System</title>
<style>
.div1{
width: 100%;
height: 30%;
font-size:20px;
background: rgba(153,171,243,0.7);
color:rgb(55,0,102);
}
.div2{
width: 100%;
height: 30%;
font-size:20px;
background:rgba(153,171,243,0.7); ;
color:rgb(55,0,102);
}
.div3{
width: 20%;
margin-left:10px;
font-size:20px;
background:rgba(180,180,180,0.7);
color:rgb(55,0,102);
}
.div4{
width: 100%;
font-size:20px;
background:rgba(153,171,243,0.7) ;
color:rgb(55,0,102);
}
h1,h2,h3{
background: rgba(180,180,180,0.7);
text-align:center;
}
body{
background-image: url(https://dependabot.com/12689cd7913704d67900e1adaf7701e2/hello-github.png);
background-repeat: no-repeat;
background-size: cover;
}
</style>
</head>
<body>
<h1 style="text-align:center; font-size:60px; background:rgba(79,101,206,0.5);">Introduction to GITHUB</h1>
<div class="div3">
<h2>Contents</h2>
<p><a href="#h1">Version Control System</a></p>
<p><a href="#h2">GIT and GITHUB</a></p>
<p><a href="#h3">Git Commands</a></p>
<ul><li><a href="#h4">Git Fork</a></li>
<li><a href="#h5">Git Init</a></li>
<li><a href="#h6">Git Commit</a></li>
<li><a href="#h7">Git Push</a></li>
<li><a href="#h8">Git Clone</a></li></ul>
</div>
<div class="div1" id="h1">
<h1 style="text-align: center;font-size:40px">Version Control System</h1>
<p>Version control is important for document that undergo a lot of revision and redrafting and is particularly important for electronic documents because they can easily be changed by a number of different users.These changes may not be immediately apparent.</p>
<ul>
<li>A version control system allows users to keep track of the changes in software development projects and enable them to collaborate on these projects.</li>
<li>There can be several branches in a version control system, according to the number of collaborations.</li>
<li>Developers can combine the code changes when required.</li>
</ul>
</div>
<div class="div2" id="h2">
<h2>GIT and GITHUB</h2>
<p>GIT is a distributed version-control system for tracking changes in source code during software development.It is designed for coordinating work among programmers, but it can be used to track changes in any set of files.
GitHub is a Git repository hosting service, but it adds many of its own features. While Git is a command line tool, GitHub provides a Web-based graphical interface.</p>
<ul>
<li>First developed back in 2005, Git is extremely popular version control system that is at the heart of a wide varietyof high profile projects. </li>
<li>The GitHub service was developed by Chris Wanstrath, P.J. Hyett, Tom Preston and Scott Chacon using Ruby on Rails, and started in Febraury 2008. </li>
<li>Unlike Git,GitHub is exclusively cloud based.</li>
</div>
<div id="h3" class="div4">
<h2>Git Commands</h2>
<h3 id="h4">Git Fork</h3>
<p>Git Fork means you just create a copy of the main repository of a project source code to your own GitHub profile.Then make your changes and create a Pull Request to the main repository branch. If the Main Repository owners like your changes they will merge it to the main repository.</p>
<h3 id="h5">Git Init</h3>
<p>The git init command is used to create a new blank repository. It is used to make an existing project as a Git project. Several Git commands run inside the repository, but init command can be run outside of the repository. The git init command creates a . git subdirectory in the current working directory.</p>
<h3 id="h6">Git Commit</h3>
<p>The "commit" command is used to save your changes to the local repository. Note that you have to explicitly tell Git which changes you want to include in a commit before running the "git commit" command. This means that a file won't be automatically included in the next commit just because it was changed.</p>
<h3 id="h7">Git Push</h3>
<p>The git push command is used to upload local repository content to a remote repository. Pushing is how you transfer commits from your local repository to a remote repo. It's the counterpart to git fetch , but whereas fetching imports commits to local branches, pushing exports commits to remote branches.</p>
<h3 id="h8">Git Clone</h3>
<p>Git clone is a Git command line utility which is used to target an existing repository and create a clone, or copy of the target repository. ... Cloning a local or remote repository. Cloning a bare repository. Using shallow options to partially clone repositories.</p>
</div>
<div class="div4">
<h2>Palak Kumari<br> 1906174<br> CSE</h2>
</div>
</body>
</html>