-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
91 lines (71 loc) · 2.44 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
</head>
<body>
<h1>Adding SSH key to Gitlab</h1>
<link rel="stylesheet" type="text/css" href="style.css" />
<ol>
<li>Check if SSH key set on your machine</li>
<ul>
<li>Open Git-Bash type: ls –al ~/.ssh</li>
<img class="img"
src="css/images/sshkeycheck.PNG"
alt="Git-Bash - check for ssh key"
/>
<li>If you see id_rsa and is_rsa.pub you have your ssh set</li>
</ul>
<li>Copy your SSH key</li>
<ul>
<li>In Git-Bash type: " clip < ~/.ssh/id_rsa.pub "</li>
<img class="img" src="css/images/copysshkey.PNG" alt="Git-Bash -copy ssh key" />
<li>
You shouldn’t see any kind of message when you run this command. If
you do, make sure you entered it correctly.
</li>
<li>
Note: Do not copy anything else to your clipboard until all steps are
completed. Otherwise, you’ll need to enter the copy command again.
</li>
</ul>
<li>
<ul>
<li>
Login into your Gitlab Account :
<a
href="https://upenn.bootcampcontent.com/upenn-bootcamp/upenn-phi-fsf-pt-12-2020-u-c"
>https://upenn.bootcampcontent.com/upenn-bootcamp/upenn-phi-fsf-pt-12-2020-u-c</a
>
</li>
<li>Navigate to your profile icon and click on Setting</li>
<img class="img" src="css/images/gitlabsetting.PNG" alt="gitlabsetting" class="screenshots"/>
<li>Paste ssh key and Add Title</li>
<img class="img" src="css/images/addsshkey.png" alt="pastesshkey" class="screenshots"/>
</ul>
</li>
<h1>Clone the Repo from Gitlab</h1>
<ol>
<li>In Gitlab go to project detail page</li>
<img class="img" src="css/images/gitlabproject.PNG" alt="projectname" class="screenshots">
<li>Click on "clone" and copy "Clone with SSH" url</li>
<img class="img" src="css/images/projectdetail.PNG" alt="projectdetail" class="screenshots" >
<li>In Git-Bash type : git clone (paste the url) </li>
<img class="img" src="css/images/clonedrepo.png" alt="clonedrepo" >
</ol>
</ol>
</body>
</html>