class: middle, center <img src="img/hex.png" width="150" style="display: block; margin: auto;" /> # DSCI 521 lab2 --- class: center, middle ## The recordings of the lectures will be in the media gallery --- ## Group lab **Questions** 1. Create a new repository 2. Clone and make changes 3. Create a branch and pull request (PR) 4. Merge Conflict 5. Fork and PR 6. _Optional_ --- ## Group lab - You all complete the lab but you submit one file to Gradescope. -- - We will count the commits on the GitHub repo of the group -- _Note: In the questions were links to personal repository are requested, you paste 3-4 links._ --- class: inverse, middle, center ## Zoom Remember to request help! --- class: middle, center <img src="img/good_message.png" width="900" style="display: block; margin: auto;" /> .footnote[[XKCD comics](https://xkcd.com/1296/)] --- ## Good commit messages For all commits in this lab, please provide a a short descriptive message, which completes the sentence "this commit will..." and starts with a capital letter. -- #### Bad messages: - fixes an error - added new code -- #### Good messages: - Fix an error in the notebook export - Make the README more welcoming --- ## Amending the most recent commit message ```bash git commit --amend -m "Fix an error in the notebook export" ``` -- ### Extra command ```bash git log --oneline -p ``` ---