Exercise 1: Create a Branch

git push origin lab06

Exercise 2: Merge Branches

Exercise 3: Forking and Pull Request

Part 1: Forking

  • Go to the stat430-fa20/lab06-ex3 repository on GitHub Enterprise.
  • Click the fork button at the top right corner (it looks like this)

  • Fork lab06-ex3 to your own GitHub Enterprise account (that is the account with your NetID as the username).
  • Now a lab06-ex3 is created for you (that belongs to you, NOT the stat430-fa20 organization!)
  • Clone this repository to your computer.
  • Open the ex3.ipynb using Jupyter Notebook.
  • Add your solution of Lab 05 - Exercise 2 into a new cell in Jupyter Notebook.
  • Stage, commit these changes and push to the remote git repository.

Part 2: Pull request

  • Go back to stat430-fa20/lab06-ex3 repo!
  • Now, click the “Pull requests” tab, then click the green “New pull request” button.
  • Click the option “compare across forks”.
  • Then, change “head repository” to YOUR repsitory (that is netid/lab06-ex3)!
  • Finally, click “Create pull request”!