You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: notes/week12/class12A.md
+23-14Lines changed: 23 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,29 +8,38 @@ Today we will be working on understanding and exploring the Depth-first algorith
8
8
9
9
[Download the Slides from today](https://github.com/ubc-cs/cpsc203/raw/main/files/Lec18_StateSpaces.pdf)
10
10
11
-
## Important links for today:
11
+
## Topics for today's lecture
12
+
13
+
- TBA
14
+
15
+
## Links for today
12
16
13
17
-[Solve a Sudoku puzzle](https://www.sudokuonline.io/kids/numbers-4-4)
14
18
-[Mathematics of Sudoku](https://en.wikipedia.org/wiki/Mathematics_of_Sudoku)
15
19
16
-
<!--
17
-
## Optional links for today
18
-
-->
19
-
20
20
## Logistics
21
21
22
-
1. Clone the Class Activity Repository
22
+
As discussed in the previous lecture, you have two choices for how to work with the class activity code:
23
23
24
-
You will first need to "accept" the GitHub Classroom assignment to get a copy of the starter code.
24
+
If you want to keep a repository on GitHub of my personal changes to the code:
25
25
26
-
You can do that by [clicking here](https://classroom.github.com/a/ZEaSSumI).
26
+
1. Make a copy of the class activity repository.
27
+
2. Clone your personal copy to your laptop.
27
28
28
-
Then, clone the `classActivity1XY` repository by running the following line in your Terminal:
29
+
If you are happy to keep your personal changes only on your laptop: You can directly clone the class activity repository.
29
30
30
-
```
31
-
git clone <your_clone_url>
32
-
```
31
+
Here is the [Template repository for class activity 12A](https://github.com/ubc-cpsc203-2023W2/class-activity-12A). You have only read access to the template repository, so you will not be able to push any changes back to it.
33
32
34
-
## Acknowledgements
33
+
### How to Copy the Class Activity Repository
34
+
35
+
If you make a copy of the template repository on GitHub, then you can push your changes to the code back up to your copy on GitHub any time you want. To copy the template repository, follow the instructions at [Creating a repository from a template](https://docs.github.com/en/repositories/creating-and-managing-repositories/creating-a-repository-from-a-template).
36
+
37
+
### Clone the appropriate repository
38
+
39
+
Follow the standard Git procedure to clone the appropriate repository onto your laptop:
40
+
41
+
```terminal
42
+
git clone <URL-of-repository>
43
+
```
35
44
36
-
Slides for {{ COURSE_CODE }} were developed and created by [Dr. Cinda Heeren](https://www.cs.ubc.ca/people/cinda-heeren). The current iteration of the course resulted in minor adaptations and updates, but by in large, full credit of these slides belongs to Dr. Cinda Heeren.
45
+
Note that you can work on your local repository on your laptop (commit, branch, switch, restore, etc.) whether you cloned the template repository or your own copy. But you can only push changes back up to GitHub if you made your own copy on GitHub of the template repository.
0 commit comments