@@ -21,8 +21,8 @@ will need to complete work on your local machine. The general process is:
21
21
- Complete the required work
22
22
- Upload the work you've done to your personal copy of the assignment on GitHub
23
23
24
- For this assignment, we'll do a quick walkthrough of these steps so you will know
25
- what to do in future assignments.
24
+ For this assignment, we'll do a quick walkthrough of these steps so you will
25
+ know what to do in future assignments.
26
26
27
27
You can follow along with the steps in the videos below, or continue reading to
28
28
get a more detailed explanation of the process of working on lessons in Canvas.
@@ -130,10 +130,27 @@ copied SSH link from GitHub. It should look something like this:
130
130
$
git clone [email protected] :< your-user-name> /phase-0-completing-assignments.git
131
131
```
132
132
133
- Press enter, and you should see a flurry of terminal activity. Once the terminal
134
- gives you control to type again, a new folder with the GitHub name of the
135
- assignment will be present. Change directory into this folder to access the
136
- assignment files.
133
+ Press enter, and you should see a flurry of terminal activity.
134
+
135
+ > ** Troubleshooting** : If you are a Mac user and you see the following message:
136
+ >
137
+ > ` xcrun: error: invalid active developer path `
138
+ >
139
+ > You need to install the Xcode Command Line Tools. Run the following command to
140
+ > install them:
141
+ >
142
+ > ``` console
143
+ > $ xcode-select --install
144
+ > ` ` `
145
+ >
146
+ > And follow the prompts. Then try running the ` git clone` command again. See
147
+ > [this Stack Overflow post](https://stackoverflow.com/a/52522566) for more
148
+ > details. Note that you may need to re-install ` xcode-select` any time you
149
+ > update your Mac OS version.
150
+
151
+ Once the terminal gives you control to type again, a new folder with the GitHub
152
+ name of the assignment will be present. Change directory into this folder to
153
+ access the assignment files.
137
154
138
155
```console
139
156
$ cd phase-0-completing-assignments
@@ -233,8 +250,8 @@ $ git push
233
250
```
234
251
235
252
This command sends the changes you've made to GitHub. If you revisit your
236
- _ personal_ copy of the assignment on GitHub, the commit you just created (with the
237
- message 'Done with assignment') will be the most recent commit on the
253
+ _ personal_ copy of the assignment on GitHub, the commit you just created (with
254
+ the message 'Done with assignment') will be the most recent commit on the
238
255
assignment.
239
256
240
257
Each assignment will be slightly different and will include instructions on what
@@ -260,9 +277,8 @@ your GitHub repository.
260
277
261
278
2 . In Canvas, navigate to the assignment you've been working on. In the upper
262
279
right corner of the assignment, you should see a ** Submit Assignment** (or
263
- ** Start Assignment** )
264
- button. You'll be directed to the bottom of the page, where you can provide a
265
- URL as your submission.
280
+ ** Start Assignment** ) button. You'll be directed to the bottom of the page,
281
+ where you can provide a URL as your submission.
266
282
267
283
3 . Paste in your repository's GitHub URL and click ** Submit** .
268
284
@@ -278,9 +294,8 @@ Let's quickly review the process for completing assignments:
278
294
button in the upper right corner of the assignment on Canvas.
279
295
280
296
** 2.** Once forked to your personal account, start the ** cloning** for your
281
- assignment. Do this by clicking the ** Code** button in GitHub, choosing
282
- ** SSH** , then clicking the ** clipboard** icon to copy the assignment's GitHub
283
- info.
297
+ assignment. Do this by clicking the ** Code** button in GitHub, choosing ** SSH** ,
298
+ then clicking the ** clipboard** icon to copy the assignment's GitHub info.
284
299
285
300
** 3.** Go to your local environment's terminal and navigate to where you'd like
286
301
to store your assignment locally.
@@ -302,7 +317,8 @@ $ git add .
302
317
$ git commit -m ' Done with assignment'
303
318
```
304
319
305
- ** 9.** Push your work to your personal fork on GitHub with the ` git push ` command
320
+ ** 9.** Push your work to your personal fork on GitHub with the ` git push `
321
+ command
306
322
307
323
** 10.** Go to your repository in GitHub and copy the URL. Note, this should be
308
324
copied from the browser's address bar, and should start with
0 commit comments