/using-git

My presentation to teach version control using Git

Primary LanguageJavaScript

Version Control - Using Git

A presentation to teach engineers how to version control their code using Git.

https://prncevince.github.io/using-git

Description

The slides are an intro to setting up and using version control (Git) within the M&A data analysis & software development environments.

Itinerary

  • Preface
    • You will mess up

      • It's okay to mess up
        • ... git is stupid
    • man git :

      GIT(1)      Git Manual      GIT(1)
      NAME
      git - the stupid content tracker

  • Setup
  • Installing Git & Friends
    • Unix Terminal Emulator (Standing up Development Environment)
  • SSH Keys
    • Generating Keys
    • Starting SSH Agent
    • Adding private key to agent
    • Adding public key to repository
    • Testing connection
  • SSH Config
  • Git Config
    • username / email
  • 2 Methods - Getting Started
  • Initializing a Repo
    • Brand New Repo
    • Preexisting Repo
  • R Project + RStudio + Git setup
  • Concepts
    • 3 trees
    • git init
    • git add
    • git commit
    • git push
    • git pull
      • git fetch
      • git merge
    • git reset
    • git revert
    • git tag
    • Git Large File Storage (LFS)
  • Demo project w/ common tools for different types of R projects
    • R Project
    • renv
    • lintr & stylr
    • doc-toc
    • npm scripts (don't even need a Node.js project)