svn checkout svn://bits.cs.uic.edu/cs385/s12/USERNAME --username USERNAME
This is the main turn-in directory, in which you should store all your work. Many homeworks come with template code. To retrieve the template, go to your turn-in directory, then run:
svn export svn://bits.cs.uic.edu/cs385/pub/homeworks/hwX
where X is the number of the homework in question. This retrieves an un-tracked copy from the public repository. NOTE: do not use svn checkout
for this! Then, add this entire template directory to your turn in repository, by running
svn add hwX
and
svn commit hwX -m "added hwX"
to commit the changes to the server.
To add a file, create the file in the desired location, then run the command
svn add THEFILE
followed by
svn commit THEFILE -m "Added THEFILE for a good reason that I describe here."
this permanently stores this revision of THEFILE in the repository. Later, when you have some files in your directory, and want to store a new version in the repository, you would run "commit" once again, for example:
svn commit -m "Changed function parameters to conform with homework3 parsing requirements."
This automatically commits the current revision of all the tracked files in the current directory. Note that files initially have to be added with "svn add" before revisions can be committed. To check on the status of all the files in your directory, use
svn status
which lists all the files that have something unusual about them:
? | Not tracked by repository |
M | Local version is newer than repository |
U | Newer version exists in repository |
C | A conflict was detected when updating local version |
Copyright 2016 The Board of Trustees of the University of Illinois.webmaster@cs.uic.edu |
WISEST Helping Women Faculty Advance Funded by NSF | ![]() | ![]() |