Skip to content

inSilecoInc/learning_git

Repository files navigation

DFO Git/Github workshop

install.packages("remotes")
remotes::install_github("iseWorkshops")

Workshop content and objectives

Session 1: Git, GitHub and Gitlab (for coders and not coders)

  • When: Friday, January 14 2022 @ 1:00 - 2:00 pm (AST)
  • Length: 45 minutes
  • Content:
    • what is Git?
    • key concepts
    • how does it work ?
    • what are GitHub, GitLab, Bitbuckets, …
    • how do they work?

Session 2: Using GitHub to create branches and provide minor edits to already created repositories

  • When: Friday, January 21 2022 @ 1:00 - 2:00 pm (AST)
  • Length: 45 minutes
  • Content:
    • staging area / commit
    • commits
    • stash
    • remote / origin / upstream
    • issues
    • Repos / branch / fork

Session 3: Using GitHub to clone repositories, create simple push and pulls requests using branches, synching local repositories

  • When: Friday, January 28 2022 @ 1:00 - 2:00 pm (AST)
  • Length: 45 minutes
  • Content:
    • Repos / branch / fork
    • Fetch/merge
    • Solve merge issue
    • Pull requests (squash)
    • Rebase

Session 4: Create, edit and render Rmarkdown documents

  • When: Friday, February 4 2022 @ 1:00 - 2:00 pm (AST)
  • Length: 45 minutes
  • Content:
    • Intro to markdown and rmarkdown
    • Basic anatomy of a rmarkdown document
    • Rendering html document
    • Creating a github page
    • Present github actions

Session 5: Create, edit and render csasdown documents

  • When: Friday, February 11 2022 @ 1:00 - 2:00 pm (AST)
  • Length: 45 minutes
  • Content:
    • Intro to bookdown
    • Intro to csasdown
    • Rendering Res Doc (CSAS document)

Breakout session 1: GitHub

  • When:
    • Break-out group 1: February 4 2022 @ 10:00 - 12:00 pm (AST)
    • Break-out group 2: February 11 2022 @ 10:00 - 12:00 pm (AST)
    • Break-out group 3: February 18 2022 @ 10:00 - 12:00 pm (AST)
    • Break-out group 4: February 25 2022 @ 2:30 - 3:30 pm (AST)
  • Length: 2 hours
  • Content:
    • create a repo
    • create a fork
    • clone an existing repo
    • create a branch of a cloned repo
    • create an issue
    • work on multiple branches
    • create a PR
    • solve a merge issue
    • rebase
    • 2 advanced exercises (maybe)

Breakout session 2: RMarkdown

  • When:
    • Break-out group 1: February 25 2022 @ 10:00 - 12:00 pm (AST)
    • Break-out group 2: March 4 2022 @ 10:00 - 12:00 pm (AST)
    • Break-out group 3: March 4 2022 @ 1:00 - 3:00 pm (AST)
  • Length: 2 hours
  • Content:
    • Create new repo
    • Create rmd document
    • Render rmd as html
    • Push to repo
    • Create github page
    • Show how GitHub actions can be used (if time permits)

Breakout session 3: csasdown

  • When: March 11 2022 @ 1:00 - 3:00 pm (AST)
  • Length: 2 hours
  • Content:
    • Clone repo with master rmd document
    • Create new branch (one per person)
    • Create child rmd document
    • Create and assign pull request
    • Review and merge pull request
    • Render Res Doc