Assignment: Files, Git, and Github#
Create a Dummy Resume Repository#
Use JupyterLab to launch a terminal and use the terminal to do the following tasks:
Create a new directory called
resumewithin your home directoryCreate an empty file within this directory called
Readme.md
Now use JupyterLab to edit the file:
Navigate to the directory in the file browser
Open
Readme.mdin the text editorOpen
Readme.mdin in Markdown PreviewArrange these files side-by-side so you can see your document rendered
Edit the file in the editor. Add the following information:
Top level heading with your name
An image. It can be a photo of you or, if you prefer, a photo of your spirit animal.
Secondary heading entitled “Education”
A list of schools you attended, hyperlinked to the websites of those insitutions
Save the file
Now go back to the terminal and do the following:
Initialize a new git repository in the
resumedirectoryAdd the
Readme.mdfile to the repositoryCreate a new commit with a commit message
Check the git log to see your commit history
Go to GitHub and create a new public repository entitled
resumePush your local resume repository to GitHub following the instructions.
View your online resume at
http://github.com/<your github username>/resume
Finally, go back to the editor and add a new subsection called “Professional Interests” to your Readme.md file. Update your local git repository and push your changes to GitHub. Verify that the remote repository is updated.
To “hand in” this part of the assignment, put a link to your assignments repository in Courseworks (see next part).
Create your Assignments Repository#
Now that you know how to create a git repository, you should create your assignments repository.
Clone the assignments directory that you created last week (Assignment 0) onto chopin
Create a
Readme.mdmarkdown file that contains your name and a link to your “resume” repo.Add the file and make your first commit
Push your repository to GitHub
On GitHub, go to “settings” -> “collaborators” and add
dmw2166andShweta-3001if you haven’t already done so.Push new commits to this repository whenever you are ready to hand in your assignments