-
Fork this class materials repository by clicking the fork button.
Check the box to make it private, so that others will not be able to copy
your work for later assignments.
This creates your own personal copy of the course materials, where you'll
add or edit files to complete homework assignments.
Once it's created, click on the Admin
gear icon, select Access management
, and
add me (username jlepak
) with write access. This will allow me to read
and optionally write updates to your repository.
-
To do the rest of the assignment, you'll need to clone a copy of
your repository to your computer. Click the Clone
button to see
the command to use; it will look something like:
hg clone https://USERNAME@bitbucket.org/USERNAME/csc-2013-spring
-
Create a folder called hw3
in the folder homework/185
in your local copy
of the repository. Put all of your work for this assignment in that folder.
-
Browse or search Bitbucket to find examples of 3 repositories
containing projects related to a topic you're interested in. For each,
describe the project (just a sentence or two is OK), say what the primary
programming language used is, and determine how many commits have been made.
Put all the information in a file called project-links.txt
. Run hg add
to add your new file to version control. Run hg commit
to commit your
progress so far, if you haven't already.
-
We've used the dir
command and the cd
command in class already, and the
week 1 page lists a few others. Find 3 more commands that could
be useful (by searching online, or asking your friends), describe them, and
give an example of how they're used.
Put your answers in a file called command-examples.txt
. Run hg add
to add your new file to version control. Run hg commit
to commit your
progress so far, if you haven't already.
-
After you are done, run hg push
to post your work (you don't need to worry
about fetching/merging first, since you're not collaborating with anyone
yet).