Changes

Jump to: navigation, search

GitHub Classroom Setup

717 bytes added, 18:03, 22 May 2019
Setup Git on CentOS 7
# When complete, click on the link by “''Your assignment has been created here.''”
# Repeat steps 2, 4, 5, and 6 for each lab and assignment invite link.
# Follow the Migration Instructions below.
== Migration Instructions Setup and Configure Git on CentOS 7 ==# Install git (as root): <syntaxhighlight lang="Bash" inline>yum install git</syntaxhighlight># Rename Configure git with your ops435 directoryfull name: '''mv ~/ops435 ~<syntaxhighlight lang="Bash" inline>git config --global user.name "Firstname Lastname"</old_ops435'''syntaxhighlight># Recreate the directory structureConfigure git with your Seneca e-mail address: '''for x in {1<syntaxhighlight lang="Bash" inline>git config --global user.email "yoursenecaid@myseneca.8}; do mkdir ca"</syntaxhighlight># Generate a SSH key-pair to add to your GitHub account: <syntaxhighlight lang="Bash" inline>ssh-p keygen # Follow defaults (hit enter)</syntaxhighlight># Display your SSH public key to copy/paste: <syntaxhighlight lang="Bash" inline>cat ~/ops435.ssh/id_rsa.pub</lab$x; done'''syntaxhighlight># Follow the Setup instructions on the GitHub Lab 1 page Paste your SSH public key (this will set up your local repository) starting from ''ssh-rsa''Don’t forget ) to clone!'''# Copy your backed-up lab work into your local GitHub Lab 1 folderaccount: https: '''cp ~/old_ops435/lab1github.com/settings/ssh/new == Accessing GitHub Labs and Assignments ==# All labs and assignments can be found here: https://* ~www.github.com/ops435/lab1/'''# Submit Each repository contains your work own individual code and is set to GitHub per the instructions on the main GitHub lab pageprivate. The only people who can see it are you and your professor.  == Cloning Labs and Assignments ==# To clone (download locally) your lab using SSH: <syntaxhighlight lang="Bash" inline>git add, clone git commit, and @github.com:ops435/lab1-yourgithubusername.git push)~/ops435/lab1/</syntaxhighlight># Repeat steps 3-5 for each Substitute your GitHub username and lab and assignment you've already worked onnumber in the above command.

Navigation menu