Skip to content

Commit bfa8e58

Browse files
updated github classroom page.
1 parent 2a9c5c5 commit bfa8e58

1 file changed

Lines changed: 30 additions & 17 deletions

File tree

source/topics/01-setting_up/github_classroom.rst

Lines changed: 30 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -34,18 +34,20 @@ You can find instructions for setting up git (and the rest of your development e
3434
:ref:`installing_python`
3535

3636
Once you have all the tools set up, you will need to create a folder (directory) within your development system for keeping your work.
37-
This is the folder where all your assignment repositories will reside.
38-
Open Git Bash (if using Git for Windows) or a terminal (Linux and Mac OS), go to the folder (using the `cd` command) you have created for this class and run::
37+
This is the folder where all your assignment repositories will reside. It will be helpful to keep them all together in one place.
3938

40-
git init
39+
.. Open Git Bash (if using Git for Windows) or a terminal (Linux and Mac OS), go to the folder (using the `cd` command) you have created for this class and run::
4140
42-
This will setup your folder to house git repositories.
41+
.. git init
42+
43+
.. This will setup your folder to house git repositories.
4344
4445
Accepting an assignment
4546
=======================
4647

4748
Each assignment page will contain a section named "Accepting your Assignment". Click on the corresponding link, which will take you to GitHub Classroom to accept the corresponding assignment.
4849

50+
4951
Some things to consider:
5052
------------------------
5153

@@ -59,34 +61,42 @@ Some things to consider:
5961

6062
* The name of the new repository will include your GitHub user name at the end.
6163

62-
Once your repository has been created, go to its link and clone it on your development system, under the folder you selected for this purpose (here (Links to an external site.) is GitHub's official guide on how to clone a repository).
64+
Once your repository has been created, go to its link and clone it on your development system, under the folder you selected for this purpose.
65+
66+
Here: `Clong a repo <https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/cloning-a-repository>`_
67+
is GitHub's official guide on how to clone a repository.
6368

6469

65-
Before you start working on your assignment
70+
Before You Start Working on your Assignment
6671
===========================================
6772

6873
Once your repository is setup, it's good to get familiar with your repository view.
6974
You should see a tab there called "Pull Requests": they indicate code changes that are desired to be pulled into a main repository;
70-
by default you should see one already there called "Feedback". Go ahead and click on it, and take a look at Files Changed tab - as of now it should show "No changes to show". As you start committing your code you will see your changes there.
75+
by default you should see one already there called "Feedback". Go ahead and click on it, and take a look at "Files Changed" tab - as of now it should show "No changes to show". As you start committing your code you will see your changes there.
76+
7177

7278
Committing your code
7379
====================
7480

7581
A "commit" is snapshot of your code (and any other files included in your project).
7682
You are encouraged to make frequent commits, as this will make it easier for you to restore your code to an earlier state if things go wrong.
7783

78-
To create a new commit:
79-
-----------------------
8084

81-
Type the following to add all files and subdirectories in the folder to your commit (note the command includes a dot, make sure you include it as well):
82-
``git add``.
85+
Creating a New Commit:
86+
----------------------
87+
88+
Type the following to add all files and subdirectories in the folder to your commit (note the command includes a dot, make sure you include it as well)::
89+
90+
git add .
8391

84-
Commit your code by typing the following:
85-
``git commit -m "Commit message"``
92+
Commit your code by typing the following::
93+
94+
git commit -m "Commit message"
8695

8796
Note that the commit message should be replaced with something descriptive of what that commit includes ("added new functionality", "fixed floating point error", "ready for review", etc.) that will later help you remember what that particular commit was about.
8897

89-
Pushing your code
98+
99+
Pushing Your Code
90100
=================
91101

92102
"Pushing" refers to the process of synchronizing the commits you have made on your development system with your GitHub repository.
@@ -99,18 +109,20 @@ You can push your code immediately after every commit or do it once a day (in wh
99109

100110
The first time you push your code to a repository, GitHub will ask you to select the remote repository (i.e., your GitHub repository). Just copy the suggested push command (you will only need to do this once per assignment).
101111

112+
102113
Asking Coding Questions
103114
=======================
104115

105116
While working on your code, you might run into a situation in which you would like one of the instructors to look at it and provide some feedback before actually reviewing and grading it.
106-
In order to do that, go to "Feedback" pull request and write a comment about your question or issue. You should make sure to tag your instructor in your comment, to assure that they ar noticfied of your comment. This is done by writing `@the_instrudtors_github_handle`, e.g. `@natasha-aleksandrova`.
117+
In order to do that, go to "Feedback" pull request and write a comment about your question or issue. You should make sure to tag your instructor in your comment, to assure that they are notified of your comment. This is done by writing `@the_instructors_github_handle`, e.g. `@natasha-aleksandrova`.
107118

108119
For example::
109120

110121
@natasha-aleksandrova: I need some help on line 20
111122

112123
When you submit a comment with a tag, the instructor will be notified by GitHub and will be able to review your question.
113124

125+
114126
Submitting your assignment
115127
==========================
116128

@@ -120,8 +132,9 @@ Once your assignment is ready for review, copy the link of your Feedback pull re
120132

121133
As per UW's requirements, you also need to submit a zip file with your code on EdX or Canvas. Note that only the code included in your pull request will be reviewed.
122134

123-
9. Resubmitting your assignment
124-
===============================
135+
136+
Resubmitting your assignment
137+
============================
125138

126139
On occasion, your instructor will provide feedback on elements in your assignment that need to be modified in order to get the full grade for the assignment. In those cases, follow the process outlined in the Asking Coding Questions section above. Let us know that you would like another review for grade adjustment and make sure to tag your instructor.
127140

0 commit comments

Comments
 (0)