- Go over syllabus
- Icebreaker
2023-11-13
Install git
Get GitHub account
Sign up for GitHub Education Pack (https://education.github.com/pack)
Install GitKraken
Any issues?
We’ll be using it throughout the class
*.R
, *.py
)*.Rproj
, .gitignore
)*.csv
, *.rds
)*.pdf
, *.png
)*.html
, *.pdf`)
Avoid files by listing them in .gitignore
(by full file name or by extension (e.g., *.pdf)
Generally avoid binary files (including *.docx
, *xlsx
, and *.pdf
), especially those that are large and change a lot!
empty
repo:https://github.com/lucasnell/empty
File
> Clone Repo
https://github.com/<user>/<repo>.git
Clone the repo!
Alternatively, from the command line:
cd PARENT-DIRECTORY git clone https://github.com/YOUR-USERNAME/YOUR-REPOSITORY.git
# Title of Repository by Lucas A. Nell ## Heading 1 ### Heading 2 ```r x <- runif(10) ``` ```python import random as rnd x = [rnd.random() for i in range(10)] ```
README.md
file# Heading ## Sub-heading ... 1. Numbered list 2. ... * bulleted list * indented item * ... **bold text** *italic text* `inline code` ```language code chunk ``` > block quotes ![images](/path/to/images/image.png) [links](https://google.com) <https://google.com>
README.md
to properly describe your projectAlternatively:
cd DIRECTORY git add README.md git commit -m "Added README.md..." git push
https://github.com/<user>/<repo>
README.md
filesREADME.md
fileREADME.md
and write down questions and constructive feedbackLet’s take some time to hash out your project ideas
More info on git and GitHub: