+ - 0:00:00
Notes for current slide
Notes for next slide

GitHub

Introduction to Data Science (BIOL7800)

https://introdatasci.dlilab.com/

Daijiang Li

LSU

2023/09/05

1 / 3

We will continue to use this excellent workshop material developed by Software Carpentry for today's lecture.

2 / 3

Connect local git repository with GitHub

  1. Go to https://github.com, login, and create a repository named as 'planets', without adding README, .gitignore, and license
  2. Copy the code from the "... pushing an existing repository to Github through command line"
  3. Paste and run the code in the terminal; since you have not connected with GitHub yet, you may get an error about pushing your materials to GitHub.
  4. Download GitHub Command line tool at https://cli.github.com, install it. If you use Mac, install Homebrew and just type brew install gh in the terminal
  5. Once installed GitHub Cli, in terminal, type gh auth login
  6. Following the instruction in terminal and authorize GitHub through web browser
  7. You may need to close and reopen RStudio to see the color Pull/Push buttons (if you use RStudio)
  8. Then commit and push the materials to GitHub and we are good to go

Note: If you have already connected with GitHub from your computer previously, you can skip steps 4-6.

3 / 3

We will continue to use this excellent workshop material developed by Software Carpentry for today's lecture.

2 / 3
Paused

Help

Keyboard shortcuts

, , Pg Up, k Go to previous slide
, , Pg Dn, Space, j Go to next slide
Home Go to first slide
End Go to last slide
Number + Return Go to specific slide
b / m / f Toggle blackout / mirrored / fullscreen mode
c Clone slideshow
p Toggle presenter mode
t Restart the presentation timer
?, h Toggle this help
Esc Back to slideshow