Git and the Command Line

Command your

command line

  • pwd - Show your current directory
  • cd - Change into a different directory
  • ls - list file names inside your directory
  • mkdir - Make a new directory
  • touch - Make a new file
  • rm - Remove a file

Install Git

  • Type 'git' into command line
  • Go to https://git-scm.com/book/en/v2/Getting-Started-Installing-Git

Git

Distributed Version Control

Git vs. Github

Repos

Add, Commit, Push

Commit early

Commit often

Branching

Branching

Merging

Git as a group tool

Git and the Command Line

By Brett Caudill

Git and the Command Line

  • 726