forked from abhaysamantni/PythonReview
-
Notifications
You must be signed in to change notification settings - Fork 0
/
InClass Git Exercise.html
47 lines (30 loc) · 1.51 KB
/
InClass Git Exercise.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>InClass Git Exercise</title>
</head>
<body>
1. Login to your github account <br>
2. Enter <code>abhaysamantni/PythonReview</code> in the <code> Search or jump to</code> box. <br>
3. Click on the down arrow on the Fork button (right hand side of the website) <br>
4. Create a new fork. Save it as a new repository in your github account <br>
5. Go to command prompt <br>
6. type <code>git clone HTTPS address</code>. You can get the HTTPs address by clicking on Code and copying
the address from the HTTPS tab <br>
7. type <code>cd foldername</code> to go to the folder <br>
8. type <code>git init</code> <br>
9. type <code>git branch branchName</code> <br>
10. type <code>git checkout branchName</code> <br>
9. Use a text editor of your choice to add your name to the last line in the file class_register.txt.
Name should be entered in the format FirstName_LastName <br>
9. type <code>git add .</code> <br>
10. type <code>git push --set-upstream origin branchName</code>
11. You will be asked to enter your login id and personal access token.
See <a>https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token</a>
for more information
12. Go to your github account and create a pull request to request that the change from your forked repo
be merged to the parent repo (abhaysamantni/PythonReview) <br>
13. I will then receive a notification to merge your change into the parent repo
</body>
</html>