Changes

Jump to: navigation, search

OPS435 Python Lab 0

451 bytes added, 18:22, 27 February 2020
m
Reference: fix typo
[[Category:rchan]][[Category:ops435OPS435-Python]]
'''Introduction to git and github.com'''
= Lab Objectives =
:*creating a new branch,
:*making changes to files,
:*creating a pull request, and
:*opening and merging a pull request.
:You will then use the git client on a Linux machine to access and download the contents from the repository you created on github. Note: if you don't have your Linux VM ready, you can login to matrix.senecacollege.ca to use the git client.
= Reference=
:* [https://github.github.com/training-kit/downloads/github-git-cheat-sheet.pdf Github git Cheat sheet]
:* [https://guides.github.com/activities/hello-world/ Github Hellow Hello World Guide]
= Overview =
: Please make the following changes when following the guide:
:* name the new repository using your Seneca user name instead of "hello-world".
:* add your full name, and OPS435 section to the README file, do not post any other personal information there.
== Task 3: Clone a Github.com repository into a new directory on a Linux system ==
<pre>
git clone https://github.com/[your_github_user_name]/[your_seneca_user_name]
</pre> :for example, if your github user name is "rc2030", and your seneca user name is rchan, the git command to clone the repository you created in Task 2 should be:<pre>
git clone https://github.com/rc2030/rchan
</pre>
:* The output of the command "tree -a" from Task 3
:You also need to
:* Put the above information in a plain text file named "lab0_[your_seneca_user_name].txt" and submit it via Blackboard by the lab 0 due date.
= Lab Review =
:# What is a git repository?
:# What kinds of data can be stored in a git repository?
:# What is a git branch?
:# What is the name of the definitive branch in a git repository?
:# What is a "pull request" related to a branch in a git repository?

Navigation menu