Read the Git Overview and Setup and Configuration sections of the Git Help page , and then try cloning a copy of the Lab0 repo from the CS31-F17 GitHub organization for our class.
If this is your first time using the college's GitHub server for CS, follow the ssh-keys or config steps link from the Setup and Configuration directions for information on how to generate ssh keys and upload your public ssh key (generated from your CS account) that is necessary to clone repos on our system.
We will go over these steps quickly in lab on Wednesday, but please try this on your own before lab.
NOTE: you need a CS account to do this. If you don't have one, I will hand out new accounts at the end of class on Tuesday, or see Jeff Knerr outside of class to get your account.
To logout, choose the logout icon and choose "log out".
$ cd # change current working directory to your home directory $ pwd # print current working directory $ mkdir cs31 # create a new subdirectory named cs31 $ ls # list contents of current working directory (your home directory) $ cd cs31 # change current working directory to cs31 $ pwd # print current working directoryHere is some information about the Unix directory structure.
From within your cs31 subdirectory run the vim tutorial:
$ cd ~/cs31 $ pwd $ vimtutor # start the vim tutorialJust go through the following sections of vimtutor (the other sections cover more obscure features that are not necessary):
* all of Lesson 1 (moving around, x, i, A, :wq) * Lesson 2.6 (dd) * Lesson 2.7 (undo) * Lesson 3.1 (p) and 3.2 (r) * Lesson 4.1 (G) and 4.2 (searching) * Lesson 6.2 (a), 6.3 (R), and 6.4 (y and p)This tutorial will take about 20-30 minutes.