diff --git a/.nojekyll b/.nojekyll index 8557947..c732df7 100644 --- a/.nojekyll +++ b/.nojekyll @@ -1 +1 @@ -3b08e052 \ No newline at end of file +fd75c087 \ No newline at end of file diff --git a/schedule/slides/00-version-control.html b/schedule/slides/00-version-control.html index 17dc936..4c24ce6 100644 --- a/schedule/slides/00-version-control.html +++ b/schedule/slides/00-version-control.html @@ -398,7 +398,7 @@

00 Git, Github, and Slack

Stat 406

Geoff Pleiss, Trevor Campbell

-

Last modified – 29 August 2024

+

Last modified – 02 September 2024

\[ \DeclareMathOperator*{\argmin}{argmin} \DeclareMathOperator*{\argmax}{argmax} @@ -475,6 +475,23 @@

Why these?

Git and GitHub

+
+
+ +

But I already know how to use git/Github…

+

Are you sure?

+ +
+


+

Yes. I really know how to use git/Github.

+

Then pull out your laptop and read my “How To Be a Git Wizard” slides.
+I guarantee (with 99% confidence) that you will learn a new command.

+

Why version control?

@@ -660,8 +677,11 @@

What should be tracked?

TLDR

Any file that YOU edit should be tracked
Any file that’s computer generated should PROBABLY NOT be tracked

+

However, in this course you will track rendered PDFs of your homeworks/labs. This makes it easier for the graders.

-
+
+
+

What should be tracked?

A file called .gitignore tells git files or types to never track

```{bash}
 # History files
@@ -679,11 +699,6 @@ 

What should be tracked?

*.so *.DS_Store ```
- -
-
-

What should be tracked?

-


Shortcut to track everything (use carefully):

```{bash}
 git add .
@@ -734,14 +749,6 @@ 

Some things to be aware of

  • See Chapter 13 if RStudio can’t find git
  • -
    -
    -

    If you know all this already…

    -


    -
    -

    Check out my “How To Be a Git Wizard” slides to take your git game to the next level.
    -I guarantee (with 99% confidence) that you will learn an amazing new command.

    -