forked from DSC-JSS-NOIDA/QuickLearn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
contribution.html
164 lines (140 loc) · 5.79 KB
/
contribution.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
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Custom Stylesheet -->
<link rel="stylesheet" href="./css/styles.css" />
<!--Bootstrap Icons -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css" />
<!--Font Aswesome-->
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" />
<!-- Bootstrap CSS -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous" />
<!--Google Fonts -->
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=Poppins&display=swap" rel="stylesheet" />
<title>Contributing Guidelines</title>
<style>
.img-sz {
width: 10rem;
height: 8rem;
}
</style>
</head>
<body>
<!--Navbar Section -->
<nav class="nav p-3">
<a class="nav-link active" aria-current="page" href="./index.html"
style="display: block; max-width: 150px;"><img id="quickLearnLogoImg" src="./assets/images/logo.svg"
alt="logo_img" /></a>
<a class="nav-link btn" href="./resource.html" id="navResourceBtn">Resources</a>
<span class="btn" onclick="dark_mode()" style="display: block; margin-left: 2px; color: #6940d3;" href="#"><i
class="fas fa-moon"></i></span>
</nav>
<!-- Text Section -->
<div class="container mt-3" id="contributionGuideline">
<h2>Contribution Guidelines</h2>
<div class="contributionHead font my-2">
Follow the steps below to start contributing, and make your first PR. We hope you have fun!
</div>
<li class="font">
Firstly, fork the repository you want to contribute to by clicking on the fork button.
</li>
<li class="font">
Now clone the Repo by typing the following commands in the
terminal:
</li>
<div class="mx-4 my-2 fc">
<div>$ git clone https://github.com/< your_user_name>/QuickLearn.git
<div>
$ cd QuickLearn
</div>
</div>
</div>
<li class="font">
Add the original repository as a remote named upstream.
Now add a reference to the original repository(by typing following command).
</li>
<div class="mx-4 my-2 fc">
$ git remote add upstream https://github.com/DSC-JSS-NOIDA/QuickLearn.git
</div>
<li class="font">
Check the remotes for your repository:
</li>
<div class="mx-4 my-2 fc">
$ git remote -v
</div>
<li class="font">
Always take a pull from the upstream repository to your master branch to keep it at par with the main
project:
</li>
<div class="mx-4 my-2 fc">
$ git pull upstream master
</div>
<li class="font">
Create a new branch to perform your changes:
</li>
<div class="mx-4 my-2 fc">
$ git checkout -b < your_branch_name>
</div>
<li class="font">
Perform the desired changes that you want to perform in the repository.
</li>
<li class="font">
After performing the changes, track your changes:
</li>
<div class="mx-4 my-2 fc">
$ git add .
</div>
<li class="font">
Now commit your changes:
</li>
<div class="mx-4 my-2 fc">
$ git commit -m "< type_Message>
</div>
<li class="font">
Fetch the newest work from upstream.
</li>
<div class="mx-4 my-2 fc">
$ git fetch upstream
</div>
<li class="font">
Merge the main branch of that repository into your topic branch.
</li>
<div class="mx-4 my-2 fc">
$ git merge upstream/master
</div>
<li class="font">Push the committed changes in your feature branch to your remote repo:</li>
<div class="mx-4 my-2 fc">
$ git push -u origin < branch name you gave earlier>
</div>
<li class="font">Navigate to the original repository and make a pull request, by clicking on Compare and Pull
Request</li>
<li class="font">Add appropriate title and description to your pull request explaining your changes and efforts
done.</li>
<li class="font">Click On Create Pull Request</li><br>
<div id="footHeading">
Woohoo! You have made a PR to the QuickLEarn ?? . Wait for your submission to be accepted and your PR to be
merged.
</div>
</div>
<!-- Footer Section -->
<footer>
<div class="footer d-flex flex-coloumn justify-content-center p-1">
Made with ❤ By <a href="https://dscjss.in">DSC JSSATEN</a>
<a href="https://github.com/dsc-jss-noida" classname=" text-black github-footer" rel="noopener noreferrer"
target="_blank">
</a>
</div>
<img src="./assets/images/gdsc-logo.png" style="display: block; width: 250px; margin: 10px auto"
classname="m-5 img-logo" alt="gdsc_logo" />
</footer>
<script src="./js/index.js"></script>
<script src="https://kit.fontawesome.com/d5f8b6c1a9.js" crossorigin="anonymous"></script>
</body>
</html>