[CSC 315] Examples from Last Thursdays class.

Andrew J. Pounds pounds_aj at mercer.edu
Sun Aug 28 09:17:40 EDT 2016


Several of you told me after class that you missed some steps in 
downloading the repository that we played with in class on Thursday.  To 
get the initial repository, move to a directory on your favorite linux 
server where you want to download it and do a

git clone https://github.com/threadmaster/introgl.git

You can then do a "cd introgl"  to move to the directory and look at the 
files.  Type "ls" to see the files that are present.  This is the 
original code with the program all in one file.   While in this 
directory do a "git checkout segmented".   After completing that command 
do a "ls"  to show the files in the directory -- you will see a very 
different list of files and the files that were there before have 
different contents.   You just checked out a branch of the repository.  
This branch contains the segmented version of the program that we built 
in class.   In some of your assignments I will require that you build 
segmented makefiles and targets.  This was your example to see how to do 
that.   We will look at other more, more difficult examples which 
require additional pieces, but I wanted you to at lease have a starting 
point.

To switch back to the prior branch do a "git checkout master".

Please let me know if you have any problems accessing these.

-- 
Andrew J. Pounds, Ph.D.  (pounds_aj at mercer.edu)
Professor of Chemistry and Computer Science
Mercer University,  Macon, GA 31207   (478) 301-5627
http://faculty.mercer.edu/pounds_aj



More information about the csc315 mailing list